15 lines
236 B
TypeScript
15 lines
236 B
TypeScript
|
module A {
|
||
|
|
||
|
interface B {
|
||
|
name: string;
|
||
|
value: number;
|
||
|
}
|
||
|
|
||
|
export module B {
|
||
|
export function createB(): number {
|
||
|
return null;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
var x: number = A.B.createB();
|