Skip to content

Commit b342cdf

Browse files
committed
Merge pull request #876 from gavinr/gavinr-noImplicitUseStrict
adding noImplicitUseStrict support
2 parents 40d87f2 + fb5c2cf commit b342cdf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/main/tsconfig/tsconfig.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ interface CompilerOptions {
4646
noFallthroughCasesInSwitch?: boolean;
4747
noImplicitAny?: boolean; // Error on inferred `any` type
4848
noImplicitReturns?: boolean;
49+
noImplicitUseStrict?: boolean;
4950
noLib?: boolean;
5051
noLibCheck?: boolean;
5152
noResolve?: boolean;
@@ -95,6 +96,7 @@ var compilerOptionsValidation: simpleValidator.ValidationInfo = {
9596
noErrorTruncation: { type: types.boolean },
9697
noFallthroughCasesInSwitch: { type: types.boolean },
9798
noImplicitAny: { type: types.boolean },
99+
noImplicitUseStrict: { type: types.boolean },
98100
noImplicitReturns: { type: types.boolean },
99101
noLib: { type: types.boolean },
100102
noLibCheck: { type: types.boolean },
@@ -241,6 +243,7 @@ export var defaults: ts.CompilerOptions = {
241243
emitDecoratorMetadata: true,
242244
declaration: false,
243245
noImplicitAny: false,
246+
noImplicitUseStrict: false,
244247
removeComments: true,
245248
noLib: false,
246249
preserveConstEnums: true,

0 commit comments

Comments
 (0)