15 lines
488 B
Plaintext
15 lines
488 B
Plaintext
|
==== tests/cases/compiler/extendsClauseAlreadySeen2.ts (3 errors) ====
|
||
|
class C<T> {
|
||
|
|
||
|
}
|
||
|
class D<T> extends C<number> extends C<string> {
|
||
|
~~~~~~~
|
||
|
!!! '{' expected.
|
||
|
~~~~~~~~~~~
|
||
|
~~~~~~
|
||
|
!!! Cannot find name 'string'.
|
||
|
baz() { }
|
||
|
~~~~~~~~~~~~~
|
||
|
}
|
||
|
~
|
||
|
!!! Operator '>' cannot be applied to types 'boolean' and '{ baz: () => void; }'.
|