TypeScript/tests/baselines/reference/extendsClauseAlreadySeen2.errors.txt

15 lines
488 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== 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; }'.