TypeScript/tests/baselines/reference/chainedImportAlias.types
2014-08-28 12:52:44 -07:00

25 lines
446 B
Plaintext

=== 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
}