mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
18 lines
448 B
Plaintext
18 lines
448 B
Plaintext
genericCloduleInModule.ts(12,1): error TS2454: Variable 'b' is used before being assigned.
|
|
|
|
|
|
==== genericCloduleInModule.ts (1 errors) ====
|
|
namespace A {
|
|
export class B<T> {
|
|
foo() { }
|
|
static bar() { }
|
|
}
|
|
export namespace B {
|
|
export var x = 1;
|
|
}
|
|
}
|
|
|
|
var b: A.B<number>;
|
|
b.foo();
|
|
~
|
|
!!! error TS2454: Variable 'b' is used before being assigned. |