Files
tsgo/testdata/baselines/reference/submodule/compiler/extendBaseClassBeforeItsDeclared.errors.txt

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) { } }