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

9 lines
358 B
Plaintext

tests/cases/conformance/classes/classDeclarations/classWithPredefinedTypesAsNames2.ts(3,7): error TS1005: '{' expected.
==== tests/cases/conformance/classes/classDeclarations/classWithPredefinedTypesAsNames2.ts (1 errors) ====
// classes cannot use predefined types as names
class void {}
~~~~
!!! error TS1005: '{' expected.