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

Commit 2521f50

Browse files
authored
Add esModuleInterop
1 parent a3f6eab commit 2521f50

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pages/Compiler Options.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Option | Type | Default
1717
`--downlevelIteration` | `boolean` | `false` | Provide full support for iterables in `for..of`, spread and destructuring when targeting ES5 or ES3.
1818
`--emitBOM` | `boolean` | `false` | Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files.
1919
`--emitDecoratorMetadata`<sup>[1]</sup> | `boolean` | `false` | Emit design-type metadata for decorated declarations in source. See [issue #2577](https://github.com/Microsoft/TypeScript/issues/2577) for details.
20+
`--esModuleInterop` | `boolean` | `false` | Emit `__importStar` and `__importDefault` helpers for runtime babel ecosystem compatibility and enable `--allowSyntheticDefaultImports` for typesystem compatability
2021
`--experimentalDecorators`<sup>[1]</sup> | `boolean` | `false` | Enables experimental support for ES decorators.
2122
`--forceConsistentCasingInFileNames` | `boolean` | `false` | Disallow inconsistently-cased references to the same file.
2223
`--help`<br/>`-h` | | | Print help message.

0 commit comments

Comments
 (0)