Skip to content

Commit e5ee1e4

Browse files
authored
Enable all the ts checks we're now passing (#1044)
1 parent 6a4b87b commit e5ee1e4

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tsconfig.build.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,22 +33,22 @@
3333
"alwaysStrict": true /* Ensure 'use strict' is always emitted. */,
3434
"noFallthroughCasesInSwitch": true /* Enable error reporting for fallthrough cases in switch statements */,
3535
"strictNullChecks": true /* When type checking, take into account `null` and `undefined`. */,
36+
"noImplicitReturns": true /* Enable error reporting for codepaths that do not explicitly return in a function. */,
37+
"noImplicitThis": true /* Enable error reporting when `this` is given the type `any`. */,
38+
"noPropertyAccessFromIndexSignature": true /* Enforces using indexed accessors for keys declared using an indexed type */,
39+
"noUnusedLocals": true /* Enable error reporting when a local variable isn't read. */,
40+
"noUnusedParameters": true /* Raise an error when a function parameter isn't read */,
41+
"strictBindCallApply": true /* Check that the arguments for `bind`, `call`, and `apply` methods match the original function. */,
42+
"strictBuiltinIteratorReturn": true /* Built-in iterators are instantiated with a 'TReturn' type of 'undefined' instead of 'any'. */,
43+
"useUnknownInCatchVariables": true /* Default catch clause variables as `unknown` instead of `any`. */,
3644

3745
/* Rules to be enabled */
3846
"exactOptionalPropertyTypes": false /* Differentiate between undefined and not present when type checking */,
3947
"noImplicitAny": false /* Enable error reporting for expressions and declarations with an implied 'any' type. */,
4048
"noImplicitOverride": false /* Ensure overriding members in derived classes are marked with an override modifier. */,
41-
"noImplicitReturns": false /* Enable error reporting for codepaths that do not explicitly return in a function. */,
42-
"noImplicitThis": false /* Enable error reporting when `this` is given the type `any`. */,
43-
"noPropertyAccessFromIndexSignature": false /* Enforces using indexed accessors for keys declared using an indexed type */,
4449
"noUncheckedIndexedAccess": false /* Add `undefined` to a type when accessed using an index. */,
45-
"noUnusedLocals": false /* Enable error reporting when a local variable isn't read. */,
46-
"noUnusedParameters": false /* Raise an error when a function parameter isn't read */,
47-
"strictBindCallApply": false /* Check that the arguments for `bind`, `call`, and `apply` methods match the original function. */,
48-
"strictBuiltinIteratorReturn": false /* Built-in iterators are instantiated with a 'TReturn' type of 'undefined' instead of 'any'. */,
4950
"strictFunctionTypes": false /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */,
5051
"strictPropertyInitialization": false /* Check for class properties that are declared but not set in the constructor. */,
51-
"useUnknownInCatchVariables": false /* Default catch clause variables as `unknown` instead of `any`. */,
5252

5353
"types": ["@types/node"]
5454
},

0 commit comments

Comments
 (0)