16 lines
No EOL
528 B
Text
16 lines
No EOL
528 B
Text
==== tests/cases/conformance/interfaces/interfaceDeclarations/interfacesWithPredefinedTypesAsNames.ts (5 errors) ====
|
|
interface any { }
|
|
~~~
|
|
!!! Interface name cannot be 'any'
|
|
interface number { }
|
|
~~~~~~
|
|
!!! Interface name cannot be 'number'
|
|
interface string { }
|
|
~~~~~~
|
|
!!! Interface name cannot be 'string'
|
|
interface boolean { }
|
|
~~~~~~~
|
|
!!! Interface name cannot be 'boolean'
|
|
interface void {}
|
|
~~~~
|
|
!!! Identifier expected. |