Skip to content

Commit 38059f6

Browse files
committed
allow allowSyntheticDefaultImports to fix node exports declarations type checking
1 parent 1dfeeeb commit 38059f6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"allowUnreachableCode": false,
2929
"typeRoots": ["../node_modules/@types/"],
3030
"allowJs": false,
31+
"allowSyntheticDefaultImports": true,
3132
"noImplicitUseStrict": false,
3233
"lib": ["es5", "es6", "es2016.array.include"],
3334
"strictNullChecks": false

0 commit comments

Comments
 (0)