2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/conformance/externalModules/foo_2.ts ===
|
|
|
|
import foo0 = require("./foo_0");
|
2015-04-13 23:01:57 +02:00
|
|
|
>foo0 : typeof foo0, Symbol(foo0, Decl(foo_2.ts, 0, 0))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
module Foo {
|
2015-04-13 23:01:57 +02:00
|
|
|
>Foo : typeof Foo, Symbol(Foo, Decl(foo_2.ts, 0, 33))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export var x = foo0.x;
|
2015-04-13 23:01:57 +02:00
|
|
|
>x : any, Symbol(x, Decl(foo_2.ts, 2, 11))
|
|
|
|
>foo0.x : any, Symbol(foo0.x, Decl(foo_0.ts, 2, 11))
|
|
|
|
>foo0 : typeof foo0, Symbol(foo0, Decl(foo_2.ts, 0, 0))
|
|
|
|
>x : any, Symbol(foo0.x, Decl(foo_0.ts, 2, 11))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
export = Foo;
|
2015-04-13 23:01:57 +02:00
|
|
|
>Foo : typeof Foo, Symbol(Foo, Decl(foo_2.ts, 0, 33))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
=== tests/cases/conformance/externalModules/foo_0.ts ===
|
|
|
|
import foo1 = require('./foo_1');
|
2015-04-13 23:01:57 +02:00
|
|
|
>foo1 : typeof foo1, Symbol(foo1, Decl(foo_0.ts, 0, 0))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
module Foo {
|
2015-04-13 23:01:57 +02:00
|
|
|
>Foo : typeof Foo, Symbol(Foo, Decl(foo_0.ts, 0, 33))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export var x = foo1.x;
|
2015-04-13 23:01:57 +02:00
|
|
|
>x : any, Symbol(x, Decl(foo_0.ts, 2, 11))
|
|
|
|
>foo1.x : any, Symbol(foo1.x, Decl(foo_1.ts, 2, 11))
|
|
|
|
>foo1 : typeof foo1, Symbol(foo1, Decl(foo_0.ts, 0, 0))
|
|
|
|
>x : any, Symbol(foo1.x, Decl(foo_1.ts, 2, 11))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
export = Foo;
|
2015-04-13 23:01:57 +02:00
|
|
|
>Foo : typeof Foo, Symbol(Foo, Decl(foo_0.ts, 0, 33))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
=== tests/cases/conformance/externalModules/foo_1.ts ===
|
|
|
|
import foo2 = require("./foo_2");
|
2015-04-13 23:01:57 +02:00
|
|
|
>foo2 : typeof foo2, Symbol(foo2, Decl(foo_1.ts, 0, 0))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
module Foo {
|
2015-04-13 23:01:57 +02:00
|
|
|
>Foo : typeof Foo, Symbol(Foo, Decl(foo_1.ts, 0, 33))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export var x = foo2.x;
|
2015-04-13 23:01:57 +02:00
|
|
|
>x : any, Symbol(x, Decl(foo_1.ts, 2, 11))
|
|
|
|
>foo2.x : any, Symbol(foo2.x, Decl(foo_2.ts, 2, 11))
|
|
|
|
>foo2 : typeof foo2, Symbol(foo2, Decl(foo_1.ts, 0, 0))
|
|
|
|
>x : any, Symbol(foo2.x, Decl(foo_2.ts, 2, 11))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
export = Foo;
|
2015-04-13 23:01:57 +02:00
|
|
|
>Foo : typeof Foo, Symbol(Foo, Decl(foo_1.ts, 0, 33))
|
2014-08-15 23:33:16 +02:00
|
|
|
|