13 lines
449 B
Plaintext
13 lines
449 B
Plaintext
==== tests/cases/compiler/interfaceNaming1.ts (4 errors) ====
|
|
interface { }
|
|
~
|
|
!!! error TS1005: ';' expected.
|
|
~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'interface'.
|
|
interface interface{ }
|
|
interface & { }
|
|
~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'interface'.
|
|
~~~
|
|
!!! error TS2363: The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.
|
|
|