You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This patch disables the `esmoduleInterop` setting that causes type
issues when the library is used by applications that do not transform
their code in this way.
Note the workaround for the `strategy.ts` file (import = require()) is
not ideal, but the export in that file is not a valid ES export, so
using this TS workaround to get past it.
fixes: #482
Copy file name to clipboardExpand all lines: tsconfig.json
+1-1
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@
48
48
// "typeRoots": [], /* List of folders to include type definitions from. */
49
49
// "types": [], /* Type declaration files to be included in compilation. */
50
50
// "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
51
-
"esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
51
+
//"esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
52
52
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
0 commit comments