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

6 lines
226 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/conformance/classes/classDeclarations/classWithPredefinedTypesAsNames2.ts (1 errors) ====
// classes cannot use predefined types as names
class void {}
~~~~
!!! Identifier expected.