Microsoft/TypeScript
GitHub で見るDeclaration emit for private identifiers in class expressions is wrong
Open
#36,548 opened on 2020年1月31日
BugDomain: Declaration EmitHelp WantedRescheduled
Repository metrics
- Stars
- (48,455 stars)
- PR merge metrics
- (平均マージ 6d 17h) (30d で 9 merged PRs)
説明
Code
const O = class { #g }
Expected behavior:
declare const O = class { #private }
Actual behavior:
declare const O: {
new (): {
"__#1@#g": any;
};
};