TypeScript/tests/baselines/reference/extendsClauseAlreadySeen2.errors.txt
2014-07-12 17:30:19 -07:00

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; }'.