22 lines
326 B
Text
22 lines
326 B
Text
=== tests/cases/compiler/B.ts ===
|
|
///<reference path="A.ts" />
|
|
module A { ; }
|
|
>A : typeof A
|
|
|
|
module B {
|
|
>B : typeof B
|
|
|
|
export function f(): A.I { return null; }
|
|
>f : () => A.I
|
|
>A : any
|
|
>I : A.I
|
|
>null : null
|
|
}
|
|
|
|
|
|
=== tests/cases/compiler/A.ts ===
|
|
|
|
module A { export interface I {} }
|
|
>A : typeof A
|
|
>I : I
|
|
|