Commit 39360d9
authored
fix(types): Remove usage of
The TypeScript docs say
> `allowSyntheticDefaultImports` without `esModuleInterop` should be
avoided. It changes the compiler’s checking behavior without changing
the code emitted by tsc, allowing potentially unsafe JavaScript to be
emitted. Additionally, the checking changes it introduces are an
incomplete version of the ones introduced by `esModuleInterop`.allowSyntheticDefaultImports (#11073)1 parent 5039e84 commit 39360d9
File tree
4 files changed
+3
-6
lines changed- dev-packages/browser-integration-tests
- packages
- nextjs/src/config/loaders
- node/src/proxy
4 files changed
+3
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
| |||
190 | 189 | | |
191 | 190 | | |
192 | 191 | | |
193 | | - | |
194 | | - | |
195 | 192 | | |
196 | 193 | | |
197 | 194 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
0 commit comments