33 lines
451 B
Text
33 lines
451 B
Text
=== tests/cases/compiler/interMixingModulesInterfaces3.ts ===
|
|
module A {
|
|
>A : typeof A
|
|
|
|
module B {
|
|
>B : typeof B
|
|
|
|
export function createB(): B {
|
|
>createB : () => B
|
|
>B : B
|
|
|
|
return null;
|
|
>null : null
|
|
}
|
|
}
|
|
|
|
export interface B {
|
|
>B : B
|
|
|
|
name: string;
|
|
>name : string
|
|
|
|
value: number;
|
|
>value : number
|
|
}
|
|
}
|
|
|
|
var x: A.B = null;
|
|
>x : A.B
|
|
>A : any
|
|
>B : A.B
|
|
>null : null
|
|
|