26 lines
443 B
TypeScript
26 lines
443 B
TypeScript
//// [classDoesNotDependOnPrivateMember.ts]
|
|
module M {
|
|
interface I { }
|
|
export class C {
|
|
private x: I;
|
|
}
|
|
}
|
|
|
|
//// [classDoesNotDependOnPrivateMember.js]
|
|
var M;
|
|
(function (M) {
|
|
var C = (function () {
|
|
function C() {
|
|
}
|
|
return C;
|
|
})();
|
|
M.C = C;
|
|
})(M || (M = {}));
|
|
|
|
|
|
//// [classDoesNotDependOnPrivateMember.d.ts]
|
|
declare module M {
|
|
class C {
|
|
private x;
|
|
}
|
|
}
|