mirror of
https://github.com/denoland/deno.git
synced 2025-09-24 19:32:30 +00:00
Enable TS strict mode by default (#3899)
Fixes #3324 Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
This commit is contained in:
parent
852823fa50
commit
90125566bb
56 changed files with 314 additions and 179 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue