Skip to content

Commit ed0fb23

Browse files
committed
Add "allowSyntheticDefaultImports" compiler option
1 parent cb7f23e commit ed0fb23

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 simpleValidator = require('./simpleValidator');
33
var types = simpleValidator.types;
44
var compilerOptionsValidation = {
55
allowNonTsExtensions: { type: types.boolean },
6+
allowSyntheticDefaultImports: { type: types.boolean },
67
allowUnreachableCode: { type: types.boolean },
78
allowUnusedLabels: { type: types.boolean },
89
charset: { type: types.string },

lib/main/tsconfig/tsconfig.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ var types = simpleValidator.types;
1717
*/
1818
interface CompilerOptions {
1919
allowNonTsExtensions?: boolean;
20+
allowSyntheticDefaultImports?: boolean;
2021
allowUnreachableCode?: boolean;
2122
allowUnusedLabels?: boolean;
2223
charset?: string;
@@ -66,6 +67,7 @@ interface CompilerOptions {
6667

6768
var compilerOptionsValidation: simpleValidator.ValidationInfo = {
6869
allowNonTsExtensions: { type: types.boolean },
70+
allowSyntheticDefaultImports: { type: types.boolean },
6971
allowUnreachableCode: { type: types.boolean },
7072
allowUnusedLabels: { type: types.boolean },
7173
charset: { type: types.string },

0 commit comments

Comments
 (0)