TypeScript/tests/cases/compiler/genericFunduleInModule.ts

9 lines
140 B
TypeScript
Raw Normal View History

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