mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
19 lines
433 B
Plaintext
19 lines
433 B
Plaintext
//// [tests/cases/conformance/externalModules/exportAssignDottedName.ts] ////
|
|
|
|
=== 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))
|
|
|
|
=== foo1.ts ===
|
|
export function x(){
|
|
>x : Symbol(x, Decl(foo1.ts, 0, 0))
|
|
|
|
return true;
|
|
}
|
|
|