Closed
Description
Before You File a Bug Report Please Confirm You Have Done The Following...
- I have tried restarting my IDE and the issue persists.
- I have updated to the latest version of the packages.
- I have searched for related issues and found none that matched my issue.
- I have read the FAQ and my problem is not listed.
Relevant Package
ast-spec
Playground Link
Repro Code
class C { #p; }
ESLint Config
module.exports = {
parser: "@typescript-eslint/parser",
rules: {
"@typescript-eslint/<rule-name>": ["error", ...<options>],
},
};
tsconfig
Expected Result
.ast.tokens[3].type
should be PrivateIdentifier
and .ast.tokens[3].value
should be "p"
.
Actual Result
.ast.tokens[3].type
is Identifier
and .ast.tokens[3].value
is #p
.
Additional Info
No response
Versions
package | version |
---|---|
@typescript-eslint/typescript-estree |
8.28.0 |