18 lines
389 B
Text
18 lines
389 B
Text
|
==== 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();
|