36 lines
1.6 KiB
Text
36 lines
1.6 KiB
Text
=== tests/cases/compiler/interMixingModulesInterfaces1.ts ===
|
|
module A {
|
|
>A : Symbol(A, Decl(interMixingModulesInterfaces1.ts, 0, 0))
|
|
|
|
export interface B {
|
|
>B : Symbol(B, Decl(interMixingModulesInterfaces1.ts, 0, 10), Decl(interMixingModulesInterfaces1.ts, 5, 5))
|
|
|
|
name: string;
|
|
>name : Symbol(name, Decl(interMixingModulesInterfaces1.ts, 2, 24))
|
|
|
|
value: number;
|
|
>value : Symbol(value, Decl(interMixingModulesInterfaces1.ts, 3, 21))
|
|
}
|
|
|
|
export module B {
|
|
>B : Symbol(B, Decl(interMixingModulesInterfaces1.ts, 0, 10), Decl(interMixingModulesInterfaces1.ts, 5, 5))
|
|
|
|
export function createB(): B {
|
|
>createB : Symbol(createB, Decl(interMixingModulesInterfaces1.ts, 7, 21))
|
|
>B : Symbol(B, Decl(interMixingModulesInterfaces1.ts, 0, 10), Decl(interMixingModulesInterfaces1.ts, 5, 5))
|
|
|
|
return null;
|
|
}
|
|
}
|
|
}
|
|
|
|
var x: A.B = A.B.createB();
|
|
>x : Symbol(x, Decl(interMixingModulesInterfaces1.ts, 14, 3))
|
|
>A : Symbol(A, Decl(interMixingModulesInterfaces1.ts, 0, 0))
|
|
>B : Symbol(A.B, Decl(interMixingModulesInterfaces1.ts, 0, 10), Decl(interMixingModulesInterfaces1.ts, 5, 5))
|
|
>A.B.createB : Symbol(A.B.createB, Decl(interMixingModulesInterfaces1.ts, 7, 21))
|
|
>A.B : Symbol(A.B, Decl(interMixingModulesInterfaces1.ts, 0, 10), Decl(interMixingModulesInterfaces1.ts, 5, 5))
|
|
>A : Symbol(A, Decl(interMixingModulesInterfaces1.ts, 0, 0))
|
|
>B : Symbol(A.B, Decl(interMixingModulesInterfaces1.ts, 0, 10), Decl(interMixingModulesInterfaces1.ts, 5, 5))
|
|
>createB : Symbol(A.B.createB, Decl(interMixingModulesInterfaces1.ts, 7, 21))
|
|
|