24 lines
448 B
Text
24 lines
448 B
Text
=== tests/cases/compiler/chainedImportAlias_file1.ts ===
|
|
import x = require('./chainedImportAlias_file0');
|
|
>x : typeof x
|
|
|
|
import y = x;
|
|
>y : typeof x
|
|
>x : typeof x
|
|
|
|
y.m.foo();
|
|
>y.m.foo() : void
|
|
>y.m.foo : () => void
|
|
>y.m : typeof x.m
|
|
>y : typeof x
|
|
>m : typeof x.m
|
|
>foo : () => void
|
|
|
|
=== tests/cases/compiler/chainedImportAlias_file0.ts ===
|
|
export module m {
|
|
>m : typeof m
|
|
|
|
export function foo() { }
|
|
>foo : () => void
|
|
}
|
|
|