diff options
author | Jeremy Rifkin <51220084+jeremy-rifkin@users.noreply.github.com> | 2022-11-26 13:56:04 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-26 13:56:04 -0500 |
commit | e13fe4a2f9a100618072855cd87dda9cf32b6524 (patch) | |
tree | 06bfc971029439d3e41e038c347ef704a6c64717 /lib/compilers/dotnet.ts | |
parent | a208c2fe2ed754a07beddc905cde433a2b7bf9f4 (diff) | |
download | compiler-explorer-e13fe4a2f9a100618072855cd87dda9cf32b6524.tar.gz compiler-explorer-e13fe4a2f9a100618072855cd87dda9cf32b6524.zip |
Mg/props ts (#4340)gh-5089
* WIP
* Type changes to the property getter
* Finish getting types working for properties.ts
* Reduce type casts in exec.ts
* Format files
* Remove old comment
Co-authored-by: Matt Godbolt <matt@godbolt.org>
Diffstat (limited to 'lib/compilers/dotnet.ts')
-rw-r--r-- | lib/compilers/dotnet.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/compilers/dotnet.ts b/lib/compilers/dotnet.ts index d712b2b76..e7001427d 100644 --- a/lib/compilers/dotnet.ts +++ b/lib/compilers/dotnet.ts @@ -39,10 +39,10 @@ class DotNetCompiler extends BaseCompiler { constructor(compilerInfo, env) { super(compilerInfo, env); - this.targetFramework = this.compilerProps(`compiler.${this.compiler.id}.targetFramework`); - this.buildConfig = this.compilerProps(`compiler.${this.compiler.id}.buildConfig`); - this.clrBuildDir = this.compilerProps(`compiler.${this.compiler.id}.clrDir`); - this.langVersion = this.compilerProps(`compiler.${this.compiler.id}.langVersion`); + this.targetFramework = this.compilerProps<string>(`compiler.${this.compiler.id}.targetFramework`); + this.buildConfig = this.compilerProps<string>(`compiler.${this.compiler.id}.buildConfig`); + this.clrBuildDir = this.compilerProps<string>(`compiler.${this.compiler.id}.clrDir`); + this.langVersion = this.compilerProps<string>(`compiler.${this.compiler.id}.langVersion`); this.asm = new DotNetAsmParser(); } |