Files
tsgo/testdata/baselines/reference/submodule/compiler/circularGetAccessor(noimplicitany=false).errors.txt

10 lines
342 B
Plaintext

circularGetAccessor.ts(2,9): error TS2502: 'foo' is referenced directly or indirectly in its own type annotation.
==== circularGetAccessor.ts (1 errors) ====
declare class C {
get foo(): typeof this.foo;
~~~
!!! error TS2502: 'foo' is referenced directly or indirectly in its own type annotation.
}