### π Search Terms private declaration ### π Version & Regression Information - This changed between versions 5.8 and 5.9 ### β― Playground Link [Playground Link](https://www.typescriptlang.org/play/?target=99&ts=5.9.0-dev.20250731#code/KYDwDg9gTgLgBAYwgOwM7wMIBsCGrUCi4Uw+AlinALyK75wDeAUHK3AMRLIyjw0AMTAL4BuJkA) ### π» Code ```ts export const ClassExpression = class { #context = 0 }; ``` ### π Actual behavior Declaration file contains invalid syntax ```ts export declare const ClassExpression: { new (): { #context: number; }; }; ``` ### π Expected behavior 5.8 output is also incorrect but at least syntactically valid ```ts export declare const ClassExpression: { new (): { "__#1@#context": number; }; }; ``` ### Additional information about the issue _No response_