6 lines
286 B
Plaintext
6 lines
286 B
Plaintext
|
==== tests/cases/conformance/types/specifyingTypes/predefinedTypes/objectTypesWithPredefinedTypesAsName2.ts (1 errors) ====
|
||
|
// it is an error to use a predefined type as a type name
|
||
|
|
||
|
class void {} // parse error unlike the others
|
||
|
~~~~
|
||
|
!!! Identifier expected.
|