TypeScript/tests/cases/compiler/interMixingModulesInterfaces5.ts

15 lines
236 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
module A {
interface B {
name: string;
value: number;
}
export module B {
export function createB(): number {
return null;
}
}
}
var x: number = A.B.createB();