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

16 lines
528 B
Plaintext
Raw Normal View History

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