mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
21 lines
346 B
TypeScript
21 lines
346 B
TypeScript
//// [tests/cases/compiler/jsDeclarationEmitPrivateStaticMethod.ts] ////
|
|
|
|
//// [a.js]
|
|
export class C {
|
|
/** @private */
|
|
static foo() {}
|
|
/** @protected */
|
|
static bar() {}
|
|
}
|
|
|
|
|
|
|
|
|
|
//// [a.d.ts]
|
|
export declare class C {
|
|
/** @private */
|
|
private static foo;
|
|
/** @protected */
|
|
protected static bar(): void;
|
|
}
|