Microsoft/TypeScript
在 GitHub 查看Declaration emit for private identifiers in class expressions is wrong
Open
#36,548 建立於 2020年1月31日
BugDomain: Declaration EmitHelp WantedRescheduled
倉庫指標
- Star
- (48,455 star)
- PR 合併指標
- (平均合併 6天 17小時) (30 天內合併 9 個 PR)
描述
Code
const O = class { #g }
Expected behavior:
declare const O = class { #private }
Actual behavior:
declare const O: {
new (): {
"__#1@#g": any;
};
};