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

13 lines
393 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/compiler/interfaceNaming1.ts (4 errors) ====
interface { }
~
!!! ';' expected.
~~~~~~~~~
!!! Cannot find name 'interface'.
interface interface{ }
interface & { }
~~~~~~~~~
!!! Cannot find name 'interface'.
~~~
!!! The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.