From d3b7058c2999f68c04278e15cbc29c91bcc44dc5 Mon Sep 17 00:00:00 2001 From: Anders Hejlsberg Date: Mon, 6 Mar 2017 13:04:59 -0800 Subject: [PATCH] Change 'tsc --init' to default to 'strict: true' --- src/compiler/commandLineParser.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/commandLineParser.ts b/src/compiler/commandLineParser.ts index 17bbbcb8a56..dc692972891 100644 --- a/src/compiler/commandLineParser.ts +++ b/src/compiler/commandLineParser.ts @@ -525,7 +525,7 @@ namespace ts { export const defaultInitCompilerOptions: CompilerOptions = { module: ModuleKind.CommonJS, target: ScriptTarget.ES5, - strict: false, + strict: true, sourceMap: false, };