17 lines
432 B
Text
17 lines
432 B
Text
|
=== tests/cases/conformance/externalModules/foo2.ts ===
|
||
|
import foo1 = require('./foo1');
|
||
|
>foo1 : Symbol(foo1, Decl(foo2.ts, 0, 0))
|
||
|
|
||
|
export = foo1.x; // Ok
|
||
|
>foo1.x : Symbol(foo1.x, Decl(foo1.ts, 0, 0))
|
||
|
>foo1 : Symbol(foo1, Decl(foo2.ts, 0, 0))
|
||
|
>x : Symbol(foo1.x, Decl(foo1.ts, 0, 0))
|
||
|
|
||
|
=== tests/cases/conformance/externalModules/foo1.ts ===
|
||
|
export function x(){
|
||
|
>x : Symbol(x, Decl(foo1.ts, 0, 0))
|
||
|
|
||
|
return true;
|
||
|
}
|
||
|
|