6 lines
No EOL
226 B
Text
6 lines
No EOL
226 B
Text
==== tests/cases/conformance/classes/classDeclarations/classWithPredefinedTypesAsNames2.ts (1 errors) ====
|
|
// classes cannot use predefined types as names
|
|
|
|
class void {}
|
|
~~~~
|
|
!!! Identifier expected. |