-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
The prop value with an expression type of TSPrivateIdentifier
could not be resolved.
#112
Comments
oof, why would they use a different node type for a standard thing? thanks, i'll take a look |
Unfortunately this repo doesn't have any TS testing yet, so I'm not sure how easy it'll be to reproduce. |
Seems like maybe the TS eslint parser doesn't yet support class private fields? typescript-eslint/typescript-eslint#1666 cc @bradzacher The implication is that it shouldn't work until v5 is released (eslint's default parser won't support it until eslint v8) |
Yup - v5 of ts-eslint will support it fully, but that won't be released until ESLint v8 releases (as we're waiting until all of the v8 breaking changes have settled so we don't have to do multiple majors). Also (as you mentioned) ESLint v8 will also come with support private fields. Relevant issue is typescript-eslint/typescript-eslint#3430 |
Same here, but without "TS":
|
I'm seeing some logging related to
TSPrivateIdentifier
while testingeslint-plugin-jsx-a11y
.https://github.com/AriPerkkio/eslint-remote-tester/actions/workflows/lint-eslint-plugin-jsx-a11y.yml
Minimal repro:
The text was updated successfully, but these errors were encountered: