mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
16 lines
429 B
Plaintext
16 lines
429 B
Plaintext
extendConstructSignatureInInterface.ts(6,17): error TS2454: Variable 'CStatic' is used before being assigned.
|
|
|
|
|
|
==== extendConstructSignatureInInterface.ts (1 errors) ====
|
|
interface C {
|
|
new(x: number): C;
|
|
}
|
|
|
|
var CStatic: C;
|
|
class E extends CStatic {
|
|
~~~~~~~
|
|
!!! error TS2454: Variable 'CStatic' is used before being assigned.
|
|
}
|
|
|
|
var e: E = new E(1);
|
|
|