mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
12 lines
538 B
Plaintext
12 lines
538 B
Plaintext
classInheritence.ts(1,17): error TS2449: Class 'A' used before its declaration.
|
|
classInheritence.ts(2,7): error TS2506: 'A' is referenced directly or indirectly in its own base expression.
|
|
|
|
|
|
==== classInheritence.ts (2 errors) ====
|
|
class B extends A { }
|
|
~
|
|
!!! error TS2449: Class 'A' used before its declaration.
|
|
!!! related TS2728 classInheritence.ts:2:7: 'A' is declared here.
|
|
class A extends A { }
|
|
~
|
|
!!! error TS2506: 'A' is referenced directly or indirectly in its own base expression. |