2014-08-28 01:58:31 +02:00
|
|
|
=== tests/cases/compiler/B.ts ===
|
|
|
|
///<reference path="A.ts" />
|
|
|
|
module A { ; }
|
2014-08-28 21:40:58 +02:00
|
|
|
>A : typeof A
|
2014-08-28 01:58:31 +02:00
|
|
|
|
|
|
|
module B {
|
2014-08-28 21:40:58 +02:00
|
|
|
>B : typeof B
|
2014-08-28 01:58:31 +02:00
|
|
|
|
|
|
|
export function f(): A.I { return null; }
|
2014-08-28 21:52:44 +02:00
|
|
|
>f : () => A.I
|
2014-08-28 21:40:58 +02:00
|
|
|
>A : unknown
|
2014-08-28 01:58:31 +02:00
|
|
|
>I : A.I
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
=== tests/cases/compiler/A.ts ===
|
|
|
|
|
|
|
|
module A { export interface I {} }
|
2014-08-28 21:40:58 +02:00
|
|
|
>A : typeof A
|
2014-08-28 01:58:31 +02:00
|
|
|
>I : I
|
|
|
|
|