Microsoft/TypeScript
Declaration emit for private identifiers in class expressions is wrong
オープン
#36,548 opened on 2020/01/31
BugDomain: Declaration EmitHelp WantedRescheduled
Repository metrics
- Stars
- (108,860 個のスター)
- PR merge metrics
- (PR metrics pending)
説明
Code
const O = class { #g }
Expected behavior:
declare const O = class { #private }
Actual behavior:
declare const O: {
new (): {
"__#1@#g": any;
};
};