File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ export function transpile({
6161 printer,
6262 transformer,
6363} : TranspileOptions ) : TranspileResult {
64- const options = program . getCompilerOptions ( ) ;
64+ const options = program . getCompilerOptions ( ) as CompilerOptions ;
6565 printer = printer || new LuaPrinter ( options ) ;
6666 transformer = transformer || new LuaTransformer ( program , options ) ;
6767
Original file line number Diff line number Diff line change @@ -211,7 +211,7 @@ function updateWatchCompilationHost(
211211
212212 host . afterProgramCreate = builderProgram => {
213213 const program = builderProgram . getProgram ( ) ;
214- const options = builderProgram . getCompilerOptions ( ) ;
214+ const options = builderProgram . getCompilerOptions ( ) as tstl . CompilerOptions ;
215215
216216 let configFileParsingDiagnostics : ts . Diagnostic [ ] = [ ] ;
217217 const configFile = options . configFile as ts . TsConfigSourceFile | undefined ;
You can’t perform that action at this time.
0 commit comments