-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
bugSomething isn't workingSomething isn't workinghas prthere is a PR raised to close thisthere is a PR raised to close thispackage: typescript-estreeIssues related to @typescript-eslint/typescript-estreeIssues related to @typescript-eslint/typescript-estree
Description
Please don't ignore this template.
There doesn't seem to be a template for "@typescript-eslint/types".
Checks
- I have tried restarting my IDE and the issue persists.
- I have updated to the latest version of the packages.
- I have read the FAQ and my problem is not listed.
Problem
The finalizer
property on the TryStatement
node type can be null
but the type says it can't be.
Expected Type
interface TryStatement extends BaseNode {
// ...
finalizer: BlockStatement | null;
}
Actual Type
interface TryStatement extends BaseNode {
// ...
finalizer: BlockStatement;
}
Versions
package | version |
---|---|
@typescript-eslint/type |
4.11.1 |
TypeScript |
4.1.3 |
node |
14.15.3 |
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghas prthere is a PR raised to close thisthere is a PR raised to close thispackage: typescript-estreeIssues related to @typescript-eslint/typescript-estreeIssues related to @typescript-eslint/typescript-estree