48 lines
813 B
Text
48 lines
813 B
Text
=== tests/cases/conformance/externalModules/foo_2.ts ===
|
|
import foo0 = require("./foo_0");
|
|
>foo0 : typeof foo0
|
|
|
|
module Foo {
|
|
>Foo : typeof Foo
|
|
|
|
export var x = foo0.x;
|
|
>x : any
|
|
>foo0.x : any
|
|
>foo0 : typeof foo0
|
|
>x : any
|
|
}
|
|
export = Foo;
|
|
>Foo : typeof Foo
|
|
|
|
=== tests/cases/conformance/externalModules/foo_0.ts ===
|
|
import foo1 = require('./foo_1');
|
|
>foo1 : typeof foo1
|
|
|
|
module Foo {
|
|
>Foo : typeof Foo
|
|
|
|
export var x = foo1.x;
|
|
>x : any
|
|
>foo1.x : any
|
|
>foo1 : typeof foo1
|
|
>x : any
|
|
}
|
|
export = Foo;
|
|
>Foo : typeof Foo
|
|
|
|
=== tests/cases/conformance/externalModules/foo_1.ts ===
|
|
import foo2 = require("./foo_2");
|
|
>foo2 : typeof foo2
|
|
|
|
module Foo {
|
|
>Foo : typeof Foo
|
|
|
|
export var x = foo2.x;
|
|
>x : any
|
|
>foo2.x : any
|
|
>foo2 : typeof foo2
|
|
>x : any
|
|
}
|
|
export = Foo;
|
|
>Foo : typeof Foo
|
|
|