TypeScript/tests/cases/compiler/genericFunduleInModule2.ts

12 lines
157 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
module A {
export function B<T>(x: T) { return x; }
}
module A {
export module B {
export var x = 1;
}
}
var b: A.B;
A.B(1);