File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ var fsu = require("../utils/fsUtil");
3
3
var simpleValidator = require ( './simpleValidator' ) ;
4
4
var types = simpleValidator . types ;
5
5
var compilerOptionsValidation = {
6
+ allowJs : { type : types . boolean } ,
6
7
allowNonTsExtensions : { type : types . boolean } ,
7
8
allowSyntheticDefaultImports : { type : types . boolean } ,
8
9
allowUnreachableCode : { type : types . boolean } ,
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ var types = simpleValidator.types;
16
16
* 3 If its a path : Update the `make relative` code
17
17
*/
18
18
interface CompilerOptions {
19
+ allowJs ?: boolean ;
19
20
allowNonTsExtensions ?: boolean ;
20
21
allowSyntheticDefaultImports ?: boolean ;
21
22
allowUnreachableCode ?: boolean ;
@@ -67,6 +68,7 @@ interface CompilerOptions {
67
68
}
68
69
69
70
var compilerOptionsValidation : simpleValidator . ValidationInfo = {
71
+ allowJs : { type : types . boolean } ,
70
72
allowNonTsExtensions : { type : types . boolean } ,
71
73
allowSyntheticDefaultImports : { type : types . boolean } ,
72
74
allowUnreachableCode : { type : types . boolean } ,
You can’t perform that action at this time.
0 commit comments