14 lines
No EOL
722 B
Text
14 lines
No EOL
722 B
Text
tests/cases/compiler/complicatedGenericRecursiveBaseClassReference.ts(1,7): error TS2310: Type 'S18<B, A, C>' recursively references itself as a base type.
|
|
tests/cases/compiler/complicatedGenericRecursiveBaseClassReference.ts(4,2): error TS2346: Supplied parameters do not match any signature of call target.
|
|
|
|
|
|
==== tests/cases/compiler/complicatedGenericRecursiveBaseClassReference.ts (2 errors) ====
|
|
class S18<B, A, C> extends S18<A[], { S19: A; (): A }[], C[]>
|
|
~~~
|
|
!!! error TS2310: Type 'S18<B, A, C>' recursively references itself as a base type.
|
|
{
|
|
}
|
|
(new S18(123)).S18 = 0;
|
|
~~~~~~~~~~~~
|
|
!!! error TS2346: Supplied parameters do not match any signature of call target.
|
|
|