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

Commit

Permalink
fix(Angular IS): enable esModuleInterop (#527)
Browse files Browse the repository at this point in the history
* fix(Angular IS): enable esModuleInterop

This works around a problem you can encounter on codeandbox
```
lite_1.default is not a function
```

* updated snapshot
  • Loading branch information
tkrugg authored Sep 21, 2021
1 parent 034f70d commit 502e776
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions e2e/__snapshots__/templates.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -604,6 +604,7 @@ exports[`Templates Angular InstantSearch File content: tsconfig.json 1`] = `
\\"downlevelIteration\\": true,
\\"experimentalDecorators\\": true,
\\"moduleResolution\\": \\"node\\",
\\"esModuleInterop\\": true,
\\"importHelpers\\": true,
\\"target\\": \\"es2017\\",
\\"module\\": \\"es2020\\",
Expand Down
1 change: 1 addition & 0 deletions src/templates/Angular InstantSearch/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"downlevelIteration": true,
"experimentalDecorators": true,
"moduleResolution": "node",
"esModuleInterop": true,
"importHelpers": true,
"target": "es2017",
"module": "es2020",
Expand Down

0 comments on commit 502e776

Please sign in to comment.