@@ -17,6 +17,8 @@ var types = simpleValidator.types;
17
17
*/
18
18
interface CompilerOptions {
19
19
allowNonTsExtensions ?: boolean ;
20
+ allowUnreachableCode ?: boolean ;
21
+ allowUnusedLabels ?: boolean ;
20
22
charset ?: string ;
21
23
codepage ?: number ;
22
24
declaration ?: boolean ;
@@ -40,7 +42,9 @@ interface CompilerOptions {
40
42
noEmitHelpers ?: boolean ;
41
43
noEmitOnError ?: boolean ;
42
44
noErrorTruncation ?: boolean ;
45
+ noFallthroughCasesInSwitch ?: boolean ;
43
46
noImplicitAny ?: boolean ; // Error on inferred `any` type
47
+ noImplicitReturns ?: boolean ;
44
48
noLib ?: boolean ;
45
49
noLibCheck ?: boolean ;
46
50
noResolve ?: boolean ;
@@ -62,6 +66,8 @@ interface CompilerOptions {
62
66
63
67
var compilerOptionsValidation : simpleValidator . ValidationInfo = {
64
68
allowNonTsExtensions : { type : types . boolean } ,
69
+ allowUnreachableCode : { type : types . boolean } ,
70
+ allowUnusedLabels : { type : types . boolean } ,
65
71
charset : { type : types . string } ,
66
72
codepage : { type : types . number } ,
67
73
declaration : { type : types . boolean } ,
@@ -85,7 +91,9 @@ var compilerOptionsValidation: simpleValidator.ValidationInfo = {
85
91
noEmitHelpers : { type : types . boolean } ,
86
92
noEmitOnError : { type : types . boolean } ,
87
93
noErrorTruncation : { type : types . boolean } ,
94
+ noFallthroughCasesInSwitch : { type : types . boolean } ,
88
95
noImplicitAny : { type : types . boolean } ,
96
+ noImplicitReturns : { type : types . boolean } ,
89
97
noLib : { type : types . boolean } ,
90
98
noLibCheck : { type : types . boolean } ,
91
99
noResolve : { type : types . boolean } ,
0 commit comments