2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/chainedImportAlias_file1.ts ===
|
2014-08-28 01:58:31 +02:00
|
|
|
import x = require('chainedImportAlias_file0');
|
2014-08-28 21:40:58 +02:00
|
|
|
>x : typeof x
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
import y = x;
|
2014-08-28 21:40:58 +02:00
|
|
|
>y : typeof x
|
2014-08-25 19:36:12 +02:00
|
|
|
>x : typeof x
|
2014-08-15 23:33:16 +02:00
|
|
|
|
2014-08-28 01:58:31 +02:00
|
|
|
y.m.foo();
|
|
|
|
>y.m.foo() : void
|
2014-08-28 21:52:44 +02:00
|
|
|
>y.m.foo : () => void
|
2014-08-28 01:58:31 +02:00
|
|
|
>y.m : typeof x.m
|
|
|
|
>y : typeof x
|
|
|
|
>m : typeof x.m
|
2014-08-28 21:52:44 +02:00
|
|
|
>foo : () => void
|
2014-08-15 23:33:16 +02:00
|
|
|
|
2014-08-28 01:58:31 +02:00
|
|
|
=== tests/cases/compiler/chainedImportAlias_file0.ts ===
|
|
|
|
export module m {
|
2014-08-28 21:40:58 +02:00
|
|
|
>m : typeof m
|
2014-08-15 23:33:16 +02:00
|
|
|
|
2014-08-28 01:58:31 +02:00
|
|
|
export function foo() { }
|
2014-08-28 21:52:44 +02:00
|
|
|
>foo : () => void
|
2014-08-28 01:58:31 +02:00
|
|
|
}
|
2014-08-15 23:33:16 +02:00
|
|
|
|