diff options
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(); } |