-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit 970526f
chore: using
Current `target` is `es2018`, using `export =` (export assignment) will trigger `ts(1203)`<sub>1</sub> error:
Export assignment cannot be used when targeting ECMAScript modules.
Consider using 'export default' or another module format instead.
[1] https://github.com/microsoft/TypeScript/blob/e9868e96e87996df46a13b4323866acc639e71ce/src/compiler/diagnosticMessages.json#L634 export default at config.ts
1 parent 74d5eec commit 970526f
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | - | ||
9 | + | ||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | - | ||
126 | + | ||
0 commit comments