mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
21 lines
493 B
Plaintext
21 lines
493 B
Plaintext
genericCloduleInModule2.ts(14,8): error TS2314: Generic type 'B<T>' requires 1 type argument(s).
|
|
|
|
|
|
==== genericCloduleInModule2.ts (1 errors) ====
|
|
namespace A {
|
|
export class B<T> {
|
|
foo() { }
|
|
static bar() { }
|
|
}
|
|
}
|
|
|
|
namespace A {
|
|
export namespace B {
|
|
export var x = 1;
|
|
}
|
|
}
|
|
|
|
var b: A.B;
|
|
~~~
|
|
!!! error TS2314: Generic type 'B<T>' requires 1 type argument(s).
|
|
b.foo(); |