TypeScript/tests/baselines/reference/genericCloduleInModule2.errors.txt
2014-07-12 17:30:19 -07:00

18 lines
389 B
Plaintext

==== 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;
~~~
!!! Generic type 'B<T>' requires 1 type argument(s).
b.foo();