Microsoft/TypeScript
Declaration emit for private identifiers in class expressions is wrong
Aperta
#36.548 aperta il 31 gen 2020
BugDomain: Declaration EmitHelp WantedRescheduled
Metriche repository
- Star
- (108.860 stelle)
- Metriche merge PR
- (Metriche PR in attesa)
Descrizione
Code
const O = class { #g }
Expected behavior:
declare const O = class { #private }
Actual behavior:
declare const O: {
new (): {
"__#1@#g": any;
};
};