@@ -46,6 +46,7 @@ interface CompilerOptions {
4646 noLibCheck ?: boolean ;
4747 noResolve ?: boolean ;
4848 out ?: string ;
49+ outFile ?: string ; // new name for out
4950 outDir ?: string ; // Redirect output structure to this directory
5051 preserveConstEnums ?: boolean ;
5152 removeComments ?: boolean ; // Do not emit comments in output
@@ -89,6 +90,7 @@ var compilerOptionsValidation: simpleValidator.ValidationInfo = {
8990 noLibCheck : { type : types . boolean } ,
9091 noResolve : { type : types . boolean } ,
9192 out : { type : types . string } ,
93+ outFile : { type : types . string } ,
9294 outDir : { type : types . string } ,
9395 preserveConstEnums : { type : types . boolean } ,
9496 removeComments : { type : types . boolean } ,
@@ -291,6 +293,11 @@ function rawToTsCompilerOptions(jsonOptions: CompilerOptions, projectDir: string
291293 if ( compilerOptions . out !== undefined ) {
292294 compilerOptions . out = path . resolve ( projectDir , compilerOptions . out ) ;
293295 }
296+
297+ if ( compilerOptions . outFile !== undefined ) {
298+ // Till out is removed. Support outFile by just copying it to `out`
299+ compilerOptions . out = path . resolve ( projectDir , compilerOptions . outFile ) ;
300+ }
294301
295302 return compilerOptions ;
296303}
0 commit comments