Bug: Program body element type exception #8888
Labels
accepting prs
Go ahead, send a pull request that resolves this issue
AST
PRs and Issues about the AST structure
bug
Something isn't working
package: ast-spec
Issues related to @typescript-eslint/ast-spec
Before You File a Bug Report Please Confirm You Have Done The Following...
Relevant Package
ast-spec
Playground Link
No response
Repro Code
ESLint Config
tsconfig
Expected Result
Remove
// @ts-expect-error: workaround for wrong type
Actual Result
rule.ts
run
rule.test.ts
Additional Info
Versions
@typescript-eslint/eslint-plugin
^7.6.0
@typescript-eslint/parser
^7.6.0
@typescript-eslint/rule-tester
^7.6.0
@typescript-eslint/scope-manager
^7.6.0
@typescript-eslint/typescript-estree
^7.6.0
@typescript-eslint/type-utils
^7.6.0
@typescript-eslint/utils
^7.6.0
TypeScript
^5.4.4
ESLint
^8.57.0
node
v21.7.1
The text was updated successfully, but these errors were encountered: