mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
27 lines
485 B
TypeScript
27 lines
485 B
TypeScript
//// [tests/cases/conformance/declarationEmit/classDoesNotDependOnPrivateMember.ts] ////
|
|
|
|
//// [classDoesNotDependOnPrivateMember.ts]
|
|
namespace M {
|
|
interface I { }
|
|
export class C {
|
|
private x: I;
|
|
}
|
|
}
|
|
|
|
//// [classDoesNotDependOnPrivateMember.js]
|
|
"use strict";
|
|
var M;
|
|
(function (M) {
|
|
class C {
|
|
}
|
|
M.C = C;
|
|
})(M || (M = {}));
|
|
|
|
|
|
//// [classDoesNotDependOnPrivateMember.d.ts]
|
|
declare namespace M {
|
|
class C {
|
|
private x;
|
|
}
|
|
}
|