@@ -50,6 +50,7 @@ interface CompilerOptions {
50
50
rootDir ?: string ;
51
51
sourceMap ?: boolean ; // Generates SourceMaps (.map files)
52
52
sourceRoot ?: string ; // Optionally specifies the location where debugger should locate TypeScript source files after deployment
53
+ suppressExcessPropertyErrors ?: boolean ; // Optionally disable strict object literal assignment checking
53
54
suppressImplicitAnyIndexErrors ?: boolean ;
54
55
target ?: string ; // 'es3'|'es5' (default)|'es6'
55
56
version ?: boolean ;
@@ -90,6 +91,7 @@ var compilerOptionsValidation: simpleValidator.ValidationInfo = {
90
91
rootDir : { type : types . string } ,
91
92
sourceMap : { type : types . boolean } ,
92
93
sourceRoot : { type : types . string } ,
94
+ suppressExcessPropertyErrors : { type : types . boolean } ,
93
95
suppressImplicitAnyIndexErrors : { type : types . boolean } ,
94
96
target : { type : types . string , validValues : [ 'es3' , 'es5' , 'es6' ] } ,
95
97
version : { type : types . boolean } ,
@@ -578,7 +580,7 @@ interface Typings {
578
580
*/
579
581
function getDefinitionsForNodeModules ( projectDir : string , files : string [ ] ) : { ours : string [ ] ; implicit : string [ ] , packagejson : string [ ] } {
580
582
let packagejson = [ ] ;
581
-
583
+
582
584
/** TODO use later when we care about versions */
583
585
function versionStringToNumber ( version : string ) : number {
584
586
var [ maj , min , patch ] = version . split ( '.' ) ;
0 commit comments