projectService / EXPERIMENTAL_useProjectService gives TS error if not boolean on v8 alpha / v7 #9313
Closed
4 tasks done
Labels
accepting prs
Go ahead, send a pull request that resolves this issue
bug
Something isn't working
locked due to age
Please open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.
package: parser
Issues related to @typescript-eslint/parser
package: typescript-eslint
Issues related to the typescript-eslint package
Milestone
Uh oh!
There was an error while loading. Please reload this page.
Before You File a Bug Report Please Confirm You Have Done The Following...
Relevant Package
types
ESLint Config
tsconfig
Expected Result
Config should not have a type error.
Actual Result
On line 7, there is an error.
On v8 alpha:
On v7:
Additional Info
Config is adapted from https://typescript-eslint.io/blog/announcing-typescript-eslint-v8-beta/#project-service.
At a glance, it seems like there is a type mismatch between
typescript-eslint/packages/typescript-estree/src/parser-options.ts
Line 220 in 3c3370f
typescript-eslint/packages/types/src/parser-options.ts
Line 70 in 3c3370f
typescript-eslint/packages/typescript-estree/src/parser-options.ts
Line 141 in 63e53e2
typescript-eslint/packages/types/src/parser-options.ts
Line 65 in 63e53e2
Versions
v8 alpha
@typescript-eslint/types
8.0.0-alpha.29
@typescript-eslint/parser
8.0.0-alpha.29
typescript-eslint
8.0.0-alpha.29
v7
@typescript-eslint/types
7.12.0
@typescript-eslint/parser
7.12.0
typescript-eslint
7.12.0
The text was updated successfully, but these errors were encountered: