Before You File a Bug Report Please Confirm You Have Done The Following...
Relevant Package
typescript-estree
Playground Link
https://typescript-eslint.io/play/#ts=5.8.2&showAST=es&fileType=.tsx&code=MoFwTglgdg5gdGAhgdwAYB0CuANX3VA&eslintrc=N4KABGBEBOCuA2BTAzpAXGYBfEWg&tsconfig=N4KABGBEDGD2C2AHAlgGwKYCcDyiAuysAdgM6QBcYoEEkJemy0eAcgK6qoDCAFutAGsylBm3TgwAXxCSgA&tokens=false
Repro Code
ESLint Config
module.exports = {
parser: "@typescript-eslint/parser",
rules: {
"@typescript-eslint/<rule-name>": ["error", ...<options>],
},
};
tsconfig
Expected Result
TemplateElement.value.cooked should be null.
Actual Result
TemplateElement.value.cooked is "\uXXXX".
Additional Info
No response
Versions
| @typescript-eslint/typescript-estree | 8.35.0 |
Before You File a Bug Report Please Confirm You Have Done The Following...
Relevant Package
typescript-estree
Playground Link
https://typescript-eslint.io/play/#ts=5.8.2&showAST=es&fileType=.tsx&code=MoFwTglgdg5gdGAhgdwAYB0CuANX3VA&eslintrc=N4KABGBEBOCuA2BTAzpAXGYBfEWg&tsconfig=N4KABGBEDGD2C2AHAlgGwKYCcDyiAuysAdgM6QBcYoEEkJemy0eAcgK6qoDCAFutAGsylBm3TgwAXxCSgA&tokens=false
Repro Code
ESLint Config
tsconfig
{ "compilerOptions": { // ... } }Expected Result
TemplateElement.value.cookedshould benull.Actual Result
TemplateElement.value.cookedis "\uXXXX".Additional Info
No response
Versions
|
@typescript-eslint/typescript-estree|8.35.0|