mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
10 lines
437 B
Plaintext
10 lines
437 B
Plaintext
extendBaseClassBeforeItsDeclared.ts(1,23): error TS2449: Class 'base' used before its declaration.
|
|
|
|
|
|
==== extendBaseClassBeforeItsDeclared.ts (1 errors) ====
|
|
class derived extends base { }
|
|
~~~~
|
|
!!! error TS2449: Class 'base' used before its declaration.
|
|
!!! related TS2728 extendBaseClassBeforeItsDeclared.ts:3:7: 'base' is declared here.
|
|
|
|
class base { constructor (public n: number) { } } |