Microsoft/TypeScript
Declaration emit for private identifiers in class expressions is wrong
开放
#36,548 创建于 2020年1月31日
BugDomain: Declaration EmitHelp WantedRescheduled
仓库指标
- 星标
- (108,860 个星标)
- PR 合并指标
- (PR 指标待抓取)
描述
Code
const O = class { #g }
Expected behavior:
declare const O = class { #private }
Actual behavior:
declare const O: {
new (): {
"__#1@#g": any;
};
};