-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Declaration emit for private identifiers in class expressions is wrong #36548
Comments
@sandersn Should the For the following example, TS converts a variable value to type with the const O = class { #g }
cc @rbuckton |
That seems plausible. @rbuckton knows the transformer a lot better than I do though. Does that sound right to you? |
I'm not sure we can emit the declare const x = typeof class { #private }; |
Code
Expected behavior:
Actual behavior:
The text was updated successfully, but these errors were encountered: