TypeScript/tests/baselines/reference/genericFunduleInModule.errors.txt
2014-09-11 16:11:08 -07:00

12 lines
319 B
Plaintext

==== tests/cases/compiler/genericFunduleInModule.ts (1 errors) ====
module A {
export function B<T>(x: T) { return x; }
export module B {
export var x = 1;
}
}
var b: A.B;
~~~
!!! error TS2305: Module 'A' has no exported member 'B'.
A.B(1);