🔎 Search Terms
private declaration
🕗 Version & Regression Information
- This changed between versions 5.8 and 5.9
⏯ Playground Link
Playground Link
💻 Code
exportconstClassExpression=class{
#context =0};🙁 Actual behavior
Declaration file contains invalid syntax
exportdeclareconstClassExpression: {new(): {
#context: number;};};🙂 Expected behavior
5.8 output is also incorrect but at least syntactically valid
exportdeclareconstClassExpression: {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