TypeScript/tests/baselines/reference/genericCloduleInModule2.errors.txt
2014-09-12 13:35:07 -07:00

21 lines
526 B
Plaintext

tests/cases/compiler/genericCloduleInModule2.ts(14,8): error TS2314: Generic type 'B<T>' requires 1 type argument(s).
==== tests/cases/compiler/genericCloduleInModule2.ts (1 errors) ====
module A {
export class B<T> {
foo() { }
static bar() { }
}
}
module A {
export module B {
export var x = 1;
}
}
var b: A.B;
~~~
!!! error TS2314: Generic type 'B<T>' requires 1 type argument(s).
b.foo();