23 lines
862 B
Text
23 lines
862 B
Text
=== tests/cases/compiler/chainedImportAlias_file1.ts ===
|
|
import x = require('./chainedImportAlias_file0');
|
|
>x : Symbol(x, Decl(chainedImportAlias_file1.ts, 0, 0))
|
|
|
|
import y = x;
|
|
>y : Symbol(y, Decl(chainedImportAlias_file1.ts, 0, 49))
|
|
>x : Symbol(x, Decl(chainedImportAlias_file1.ts, 0, 0))
|
|
|
|
y.m.foo();
|
|
>y.m.foo : Symbol(x.m.foo, Decl(chainedImportAlias_file0.ts, 0, 17))
|
|
>y.m : Symbol(x.m, Decl(chainedImportAlias_file0.ts, 0, 0))
|
|
>y : Symbol(y, Decl(chainedImportAlias_file1.ts, 0, 49))
|
|
>m : Symbol(x.m, Decl(chainedImportAlias_file0.ts, 0, 0))
|
|
>foo : Symbol(x.m.foo, Decl(chainedImportAlias_file0.ts, 0, 17))
|
|
|
|
=== tests/cases/compiler/chainedImportAlias_file0.ts ===
|
|
export module m {
|
|
>m : Symbol(m, Decl(chainedImportAlias_file0.ts, 0, 0))
|
|
|
|
export function foo() { }
|
|
>foo : Symbol(foo, Decl(chainedImportAlias_file0.ts, 0, 17))
|
|
}
|
|
|