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

11 lines
605 B
Plaintext

implementClausePrecedingExtends.ts(1,11): error TS2564: Property 'foo' has no initializer and is not definitely assigned in the constructor.
implementClausePrecedingExtends.ts(2,22): error TS1173: 'extends' clause must precede 'implements' clause.
==== implementClausePrecedingExtends.ts (2 errors) ====
class C { foo: number }
~~~
!!! error TS2564: Property 'foo' has no initializer and is not definitely assigned in the constructor.
class D implements C extends C { }
~~~~~~~
!!! error TS1173: 'extends' clause must precede 'implements' clause.