32 lines
427 B
Plaintext
32 lines
427 B
Plaintext
=== 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;
|
|
}
|
|
}
|
|
|
|
export interface B {
|
|
>B : B
|
|
|
|
name: string;
|
|
>name : string
|
|
|
|
value: number;
|
|
>value : number
|
|
}
|
|
}
|
|
|
|
var x: A.B = null;
|
|
>x : A.B
|
|
>A : unknown
|
|
>B : A.B
|
|
|