-
Notifications
You must be signed in to change notification settings - Fork 416
Enable noImplicitAny
#1066
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable noImplicitAny
#1066
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -30,30 +30,20 @@ | |
| "isolatedModules": true /* Ensure that each file can be safely transpiled without relying on other imports. */, | ||
|
|
||
| /* Strict Type-Checking Options */ | ||
| /* Gradually enable more of these until we can enable strict mode. */ | ||
| "strict": false /* Enable all strict type-checking options. */, | ||
| "strict": true /* Enable all strict type-checking options. */, | ||
| /* Rules enabled so far */ | ||
| "allowUnreachableCode": false /* Disable error reporting for unreachable code. */, | ||
| "allowUnusedLabels": false /* Disable error reporting for unused labels. */, | ||
| "alwaysStrict": true /* Ensure 'use strict' is always emitted. */, | ||
| "noFallthroughCasesInSwitch": true /* Enable error reporting for fallthrough cases in switch statements */, | ||
| "strictNullChecks": true /* When type checking, take into account `null` and `undefined`. */, | ||
| "noImplicitReturns": true /* Enable error reporting for codepaths that do not explicitly return in a function. */, | ||
| "noImplicitThis": true /* Enable error reporting when `this` is given the type `any`. */, | ||
| "noPropertyAccessFromIndexSignature": true /* Enforces using indexed accessors for keys declared using an indexed type */, | ||
| "noUnusedLocals": true /* Enable error reporting when a local variable isn't read. */, | ||
| "noUnusedParameters": true /* Raise an error when a function parameter isn't read */, | ||
| "strictBindCallApply": true /* Check that the arguments for `bind`, `call`, and `apply` methods match the original function. */, | ||
| "strictBuiltinIteratorReturn": true /* Built-in iterators are instantiated with a 'TReturn' type of 'undefined' instead of 'any'. */, | ||
| "useUnknownInCatchVariables": true /* Default catch clause variables as `unknown` instead of `any`. */, | ||
| "strictFunctionTypes": true /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */, | ||
| "strictPropertyInitialization": true /* Check for class properties that are declared but not set in the constructor. */, | ||
| "noImplicitOverride": true /* Ensure overriding members in derived classes are marked with an override modifier. */, | ||
| "noUncheckedIndexedAccess": true /* Add `undefined` to a type when accessed using an index. */, | ||
|
|
||
| /* Rules to be enabled */ | ||
| "exactOptionalPropertyTypes": false /* Differentiate between undefined and not present when type checking */, | ||
| "noImplicitAny": false /* Enable error reporting for expressions and declarations with an implied 'any' type. */, | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should probably move it to the
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yep, one sec, I realized this and also that as of this PR we can set |
||
|
|
||
| "types": ["@types/node"] | ||
| }, | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
literally wtf is this type lmao