TypeScript/tests/baselines/reference/interfacesWithPredefinedTypesAsNames.errors.txt
2014-09-11 16:11:08 -07:00

16 lines
598 B
Plaintext

==== tests/cases/conformance/interfaces/interfaceDeclarations/interfacesWithPredefinedTypesAsNames.ts (5 errors) ====
interface any { }
~~~
!!! error TS2427: Interface name cannot be 'any'
interface number { }
~~~~~~
!!! error TS2427: Interface name cannot be 'number'
interface string { }
~~~~~~
!!! error TS2427: Interface name cannot be 'string'
interface boolean { }
~~~~~~~
!!! error TS2427: Interface name cannot be 'boolean'
interface void {}
~~~~
!!! error TS1003: Identifier expected.