Default tsc --init to es2016 (#45934)

This commit is contained in:
Orta Therox
2021-09-24 19:13:53 +01:00
committed by GitHub
parent 90e83adb44
commit 12003e53c2
15 changed files with 445 additions and 134 deletions

View File

@@ -1337,7 +1337,7 @@ namespace ts {
/* @internal */
export const defaultInitCompilerOptions: CompilerOptions = {
module: ModuleKind.CommonJS,
target: ScriptTarget.ES5,
target: ScriptTarget.ES2016,
strict: true,
esModuleInterop: true,
forceConsistentCasingInFileNames: true,