TypeScript/tests/baselines/reference/exportAssignmentCircularModules.types

49 lines
813 B
Text
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/conformance/externalModules/foo_2.ts ===
import foo0 = require("./foo_0");
2014-08-28 21:40:58 +02:00
>foo0 : typeof foo0
2014-08-15 23:33:16 +02:00
module Foo {
2014-08-28 21:40:58 +02:00
>Foo : typeof Foo
2014-08-15 23:33:16 +02:00
export var x = foo0.x;
>x : any
>foo0.x : any
2014-08-25 19:36:12 +02:00
>foo0 : typeof foo0
2014-08-15 23:33:16 +02:00
>x : any
}
export = Foo;
>Foo : typeof Foo
=== tests/cases/conformance/externalModules/foo_0.ts ===
import foo1 = require('./foo_1');
2014-08-28 21:40:58 +02:00
>foo1 : typeof foo1
2014-08-15 23:33:16 +02:00
module Foo {
2014-08-28 21:40:58 +02:00
>Foo : typeof Foo
2014-08-15 23:33:16 +02:00
export var x = foo1.x;
>x : any
>foo1.x : any
2014-08-25 19:36:12 +02:00
>foo1 : typeof foo1
2014-08-15 23:33:16 +02:00
>x : any
}
export = Foo;
>Foo : typeof Foo
=== tests/cases/conformance/externalModules/foo_1.ts ===
import foo2 = require("./foo_2");
2014-08-28 21:40:58 +02:00
>foo2 : typeof foo2
2014-08-15 23:33:16 +02:00
module Foo {
2014-08-28 21:40:58 +02:00
>Foo : typeof Foo
2014-08-15 23:33:16 +02:00
export var x = foo2.x;
>x : any
>foo2.x : any
2014-08-25 19:36:12 +02:00
>foo2 : typeof foo2
2014-08-15 23:33:16 +02:00
>x : any
}
export = Foo;
>Foo : typeof Foo