TypeScript/tests/baselines/reference/interfacesWithPredefinedTypesAsNames.errors.txt
2014-07-12 17:30:19 -07:00

16 lines
528 B
Plaintext

==== 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.