diff options
author | Maximilien Mellen <maxmellen0@gmail.com> | 2020-02-19 21:36:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-19 15:36:18 -0500 |
commit | 90125566bbaed8b5c6e55ca8dbc432e3433fb73c (patch) | |
tree | bf798a408b26264641260395ce8cfc9d4bb37637 /cli/js/compiler_host.ts | |
parent | 852823fa505d75d61e70e1330bbf366aa248e650 (diff) |
Enable TS strict mode by default (#3899)
Fixes #3324
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
Diffstat (limited to 'cli/js/compiler_host.ts')
-rw-r--r-- | cli/js/compiler_host.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cli/js/compiler_host.ts b/cli/js/compiler_host.ts index 8f19eb326..d44bc7a03 100644 --- a/cli/js/compiler_host.ts +++ b/cli/js/compiler_host.ts @@ -49,8 +49,7 @@ export const defaultBundlerOptions: ts.CompilerOptions = { export const defaultCompileOptions: ts.CompilerOptions = { allowJs: true, allowNonTsExtensions: true, - // TODO(#3324) Enable strict mode for user code. - // strict: true, + strict: true, checkJs: false, esModuleInterop: true, module: ts.ModuleKind.ESNext, |