Skip to content

Commit d3b7058

Browse files
committed
Change 'tsc --init' to default to 'strict: true'
1 parent 7ed13d0 commit d3b7058

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/commandLineParser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ namespace ts {
525525
export const defaultInitCompilerOptions: CompilerOptions = {
526526
module: ModuleKind.CommonJS,
527527
target: ScriptTarget.ES5,
528-
strict: false,
528+
strict: true,
529529
sourceMap: false,
530530
};
531531

0 commit comments

Comments
 (0)