TypeScript/tests/baselines/reference/exportAssignmentCircularModules.types

49 lines
813 B
Plaintext
Raw Normal View History

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