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
|
=== tests/cases/conformance/externalModules/foo_1.ts ===
import foo = require("./foo_0");
>foo : Symbol(foo, Decl(foo_1.ts, 0, 0))
var x = new foo<number>();
>x : Symbol(x, Decl(foo_1.ts, 1, 3))
>foo : Symbol(foo, Decl(foo_1.ts, 0, 0))
var y:number = x.test;
>y : Symbol(y, Decl(foo_1.ts, 2, 3))
>x.test : Symbol(foo.test, Decl(foo_0.ts, 0, 13))
>x : Symbol(x, Decl(foo_1.ts, 1, 3))
>test : Symbol(foo.test, Decl(foo_0.ts, 0, 13))
=== tests/cases/conformance/externalModules/foo_0.ts ===
class Foo<T>{
>Foo : Symbol(Foo, Decl(foo_0.ts, 0, 0))
>T : Symbol(T, Decl(foo_0.ts, 0, 10))
test: T;
>test : Symbol(Foo.test, Decl(foo_0.ts, 0, 13))
>T : Symbol(T, Decl(foo_0.ts, 0, 10))
}
export = Foo;
>Foo : Symbol(Foo, Decl(foo_0.ts, 0, 0))
|