TypeScript/tests/cases/compiler/genericFunduleInModule.ts
2014-07-12 17:30:19 -07:00

9 lines
140 B
TypeScript

module A {
export function B<T>(x: T) { return x; }
export module B {
export var x = 1;
}
}
var b: A.B;
A.B(1);