Skip to content

Commit 50b7552

Browse files
committed
Merge pull request #911 from thomasboyt/allowJs
Support allowJs option
2 parents efdfcfd + 46d0c3f commit 50b7552

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

dist/main/tsconfig/tsconfig.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ var fsu = require("../utils/fsUtil");
33
var simpleValidator = require('./simpleValidator');
44
var types = simpleValidator.types;
55
var compilerOptionsValidation = {
6+
allowJs: { type: types.boolean },
67
allowNonTsExtensions: { type: types.boolean },
78
allowSyntheticDefaultImports: { type: types.boolean },
89
allowUnreachableCode: { type: types.boolean },

lib/main/tsconfig/tsconfig.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ var types = simpleValidator.types;
1616
* 3 If its a path : Update the `make relative` code
1717
*/
1818
interface CompilerOptions {
19+
allowJs?: boolean;
1920
allowNonTsExtensions?: boolean;
2021
allowSyntheticDefaultImports?: boolean;
2122
allowUnreachableCode?: boolean;
@@ -67,6 +68,7 @@ interface CompilerOptions {
6768
}
6869

6970
var compilerOptionsValidation: simpleValidator.ValidationInfo = {
71+
allowJs: { type: types.boolean },
7072
allowNonTsExtensions: { type: types.boolean },
7173
allowSyntheticDefaultImports: { type: types.boolean },
7274
allowUnreachableCode: { type: types.boolean },

0 commit comments

Comments
 (0)