15 lines
No EOL
488 B
Text
15 lines
No EOL
488 B
Text
==== 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; }'. |