TypeScript/tests/baselines/reference/genericCloduleInModule2.errors.txt

18 lines
389 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== 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();