Skip to content
This repository was archived by the owner on Dec 16, 2022. It is now read-only.

Commit 502e776

Browse files
authored
fix(Angular IS): enable esModuleInterop (#527)
* fix(Angular IS): enable esModuleInterop This works around a problem you can encounter on codeandbox ``` lite_1.default is not a function ``` * updated snapshot
1 parent 034f70d commit 502e776

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

e2e/__snapshots__/templates.test.js.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -604,6 +604,7 @@ exports[`Templates Angular InstantSearch File content: tsconfig.json 1`] = `
604604
\\"downlevelIteration\\": true,
605605
\\"experimentalDecorators\\": true,
606606
\\"moduleResolution\\": \\"node\\",
607+
\\"esModuleInterop\\": true,
607608
\\"importHelpers\\": true,
608609
\\"target\\": \\"es2017\\",
609610
\\"module\\": \\"es2020\\",

src/templates/Angular InstantSearch/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"downlevelIteration": true,
1414
"experimentalDecorators": true,
1515
"moduleResolution": "node",
16+
"esModuleInterop": true,
1617
"importHelpers": true,
1718
"target": "es2017",
1819
"module": "es2020",

0 commit comments

Comments
 (0)