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

19 lines
873 B
Plaintext
Raw Normal View History

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