Bug: v6 typeMatchesSpecifier
LibSpecifier
should return true for intrinsic types (string, number, boolean, etc)
#6867
Labels
Milestone
Before You File a Bug Report Please Confirm You Have Done The Following...
Relevant Package
utils
Playground Link
No response
Repro Code
ESLint Config
No response
tsconfig
No response
Expected Result
Native types should be considered part of "lib"
Actual Result
Native types aren't match my any of the object specifiers.
Additional Info
This works:
So maybe this change isn't needed.
Though I'd expect every type to able to be specified with one of the object specifiers.
Versions
@typescript-eslint/eslint-plugin
6.0.0-alpha.121
@typescript-eslint/parser
6.0.0-alpha.121
@typescript-eslint/scope-manager
6.0.0-alpha.121
@typescript-eslint/typescript-estree
6.0.0-alpha.121
@typescript-eslint/type-utils
6.0.0-alpha.121
@typescript-eslint/utils
6.0.0-alpha.121
TypeScript
5.0.3
ESLint
8.36.0
node
18.15.0
The text was updated successfully, but these errors were encountered: