Allow esModuleInterop
Allow default imports from modules with no default export. This does not affect code emit, just typechecking. Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports.
This commit is contained in:
1 parent
491b0caf18
commit
7b686518ed
1 file changed
+3
-1
+3
-1
@@ -4,7 +4,9 @@
|
||||
"jsx": "react",
|
||||
"noEmit": true,
|
||||
"moduleResolution": "node",
|
||||
"noImplicitAny": true
|
||||
"noImplicitAny": true,
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"esModuleInterop": true
|
||||
},
|
||||
"exclude": [
|
||||
"node_modules"
|
||||
|
||||
Reference in new issue
Block a user