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 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
|
=== tests/cases/conformance/externalModules/foo1.ts ===
var x = 10;
>x : Symbol(x, Decl(foo1.ts, 0, 3))
var y = 20;
>y : Symbol(y, Decl(foo1.ts, 1, 3))
export = x;
>x : Symbol(x, Decl(foo1.ts, 0, 3))
export = y;
>y : Symbol(y, Decl(foo1.ts, 1, 3))
=== tests/cases/conformance/externalModules/foo2.ts ===
var x = 10;
>x : Symbol(x, Decl(foo2.ts, 0, 3))
class y {};
>y : Symbol(y, Decl(foo2.ts, 0, 11))
export = x;
>x : Symbol(x, Decl(foo2.ts, 0, 3))
export = y;
>y : Symbol(y, Decl(foo2.ts, 0, 11))
=== tests/cases/conformance/externalModules/foo3.ts ===
module x {
>x : Symbol(x, Decl(foo3.ts, 0, 0))
export var x = 10;
>x : Symbol(x, Decl(foo3.ts, 1, 11))
}
class y {
>y : Symbol(y, Decl(foo3.ts, 2, 1))
y: number;
>y : Symbol(y.y, Decl(foo3.ts, 3, 9))
}
export = x;
>x : Symbol(x, Decl(foo3.ts, 0, 0))
export = y;
>y : Symbol(y, Decl(foo3.ts, 2, 1))
=== tests/cases/conformance/externalModules/foo4.ts ===
export = x;
>x : Symbol(x, Decl(foo4.ts, 0, 11))
function x(){
>x : Symbol(x, Decl(foo4.ts, 0, 11))
return 42;
}
function y(){
>y : Symbol(y, Decl(foo4.ts, 3, 1))
return 42;
}
export = y;
>y : Symbol(y, Decl(foo4.ts, 3, 1))
=== tests/cases/conformance/externalModules/foo5.ts ===
var x = 5;
>x : Symbol(x, Decl(foo5.ts, 0, 3))
var y = "test";
>y : Symbol(y, Decl(foo5.ts, 1, 3))
var z = {};
>z : Symbol(z, Decl(foo5.ts, 2, 3))
export = x;
>x : Symbol(x, Decl(foo5.ts, 0, 3))
export = y;
>y : Symbol(y, Decl(foo5.ts, 1, 3))
export = z;
>z : Symbol(z, Decl(foo5.ts, 2, 3))
|