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

Commit 8e974c8

Browse files
Update Compiler Options.md
1 parent 8e9270b commit 8e974c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/Compiler Options.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Option | Type | Default | Description
44
-----------------------------------------------|-----------|--------------------------------|----------------------------------------------------------------------
55
`--allowJs` | `boolean` | `false` | Allow JavaScript files to be compiled.
6-
`--allowSyntheticDefaultImports` | `boolean` | `module === "system"` or `--esModuleInterop` | Allow default imports from modules with no default export. This does not affect code emit, just typechecking.
6+
`--allowSyntheticDefaultImports` | `boolean` | `module === "system"` or `--esModuleInterop` is set and `module` is not `es2015`/`esnext` | Allow default imports from modules with no default export. This does not affect code emit, just typechecking.
77
`--allowUnreachableCode` | `boolean` | `false` | Do not report errors on unreachable code.
88
`--allowUnusedLabels` | `boolean` | `false` | Do not report errors on unused labels.
99
`--alwaysStrict` | `boolean` | `false` | Parse in strict mode and emit `"use strict"` for each source file

0 commit comments

Comments
 (0)