9 lines
No EOL
358 B
Text
9 lines
No EOL
358 B
Text
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. |