Microsoft/TypeScript

Declaration emit for private identifiers in class expressions is wrong

オープン

#36,548 opened on 2020/01/31

 (3 件のコメント) (2 件のリアクション) (0 人の担当者)TypeScript (13,395 件のフォーク)batch import
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;
    };
};

コントリビューターガイド