2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/compiler/genericCloduleInModule2.ts(14,8): error TS2314: Generic type 'B<T>' requires 1 type argument(s).
|
|
|
|
|
|
|
|
|
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;
|
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2314: Generic type 'B<T>' requires 1 type argument(s).
|
2014-07-13 01:04:16 +02:00
|
|
|
b.foo();
|