mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
14 lines
458 B
Plaintext
14 lines
458 B
Plaintext
//// [tests/cases/compiler/importInsideModule.ts] ////
|
|
|
|
=== importInsideModule_file2.ts ===
|
|
export namespace myModule {
|
|
>myModule : Symbol(myModule, Decl(importInsideModule_file2.ts, 0, 0))
|
|
|
|
import foo = require("importInsideModule_file1");
|
|
>foo : Symbol(foo, Decl(importInsideModule_file2.ts, 0, 27))
|
|
|
|
var a = foo.x;
|
|
>a : Symbol(a, Decl(importInsideModule_file2.ts, 2, 7))
|
|
>foo : Symbol(foo, Decl(importInsideModule_file2.ts, 0, 27))
|
|
}
|