15 lines
474 B
Plaintext
15 lines
474 B
Plaintext
=== tests/cases/conformance/externalModules/foo_1.ts ===
|
|
import foo = require('./test/foo_0');
|
|
>foo : Symbol(foo, Decl(foo_1.ts, 0, 0))
|
|
|
|
var x = foo.foo + 42;
|
|
>x : Symbol(x, Decl(foo_1.ts, 1, 3))
|
|
>foo.foo : Symbol(foo.foo, Decl(foo_0.ts, 0, 10))
|
|
>foo : Symbol(foo, Decl(foo_1.ts, 0, 0))
|
|
>foo : Symbol(foo.foo, Decl(foo_0.ts, 0, 10))
|
|
|
|
=== tests/cases/conformance/externalModules/test/foo_0.ts ===
|
|
export var foo = 42;
|
|
>foo : Symbol(foo, Decl(foo_0.ts, 0, 10))
|
|
|