1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
|
//// [declInput4.ts]
module M {
class C { }
export class E {}
export interface I1 {}
interface I2 {}
export class D {
public m1: number;
public m2: string;
public m23: E;
public m24: I1;
public m232(): E { return null;}
public m242(): I1 { return null; }
public m26(i:I1) {}
}
}
//// [declInput4.js]
var M;
(function (M) {
var C = /** @class */ (function () {
function C() {
}
return C;
}());
var E = /** @class */ (function () {
function E() {
}
return E;
}());
M.E = E;
var D = /** @class */ (function () {
function D() {
}
D.prototype.m232 = function () { return null; };
D.prototype.m242 = function () { return null; };
D.prototype.m26 = function (i) { };
return D;
}());
M.D = D;
})(M || (M = {}));
//// [declInput4.d.ts]
declare module M {
class E {
}
interface I1 {
}
class D {
m1: number;
m2: string;
m23: E;
m24: I1;
m232(): E;
m242(): I1;
m26(i: I1): void;
}
}
|