Change 'tsc --init' to default to 'strict: true'

This commit is contained in:
Anders Hejlsberg
2017-03-06 13:04:59 -08:00
parent 7ed13d0c1e
commit d3b7058c29

View File

@@ -525,7 +525,7 @@ namespace ts {
export const defaultInitCompilerOptions: CompilerOptions = {
module: ModuleKind.CommonJS,
target: ScriptTarget.ES5,
strict: false,
strict: true,
sourceMap: false,
};