🔎 Search Terms
private declaration
🕗 Version & Regression Information
- This changed between versions 5.8 and 5.9
⏯ Playground Link
Playground Link
💻 Code
export const ClassExpression = class {
#context = 0
};
🙁 Actual behavior
Declaration file contains invalid syntax
export declare const ClassExpression: {
new (): {
#context: number;
};
};
🙂 Expected behavior
5.8 output is also incorrect but at least syntactically valid
export declare const ClassExpression: {
new (): {
"__#1@#context": number;
};
};
Additional information about the issue
No response
🔎 Search Terms
private declaration
🕗 Version & Regression Information
⏯ Playground Link
Playground Link
💻 Code
🙁 Actual behavior
Declaration file contains invalid syntax
🙂 Expected behavior
5.8 output is also incorrect but at least syntactically valid
Additional information about the issue
No response