Microsoft/TypeScript
View on GitHubDeclaration emit for private identifiers in class expressions is wrong
Open
#36,548 opened on Jan 31, 2020
BugDomain: Declaration EmitHelp WantedRescheduled
Repository metrics
- Stars
- (48,455 stars)
- PR merge metrics
- (Avg merge 6d 17h) (9 merged PRs in 30d)
Description
Code
const O = class { #g }
Expected behavior:
declare const O = class { #private }
Actual behavior:
declare const O: {
new (): {
"__#1@#g": any;
};
};