2015-04-02 02:20:20 +02:00
|
|
|
tests/cases/conformance/classes/classDeclarations/classWithPredefinedTypesAsNames2.ts(3,7): error TS1005: '{' expected.
|
2014-09-12 22:35:07 +02:00
|
|
|
|
|
|
|
|
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 {}
|
|
|
|
~~~~
|
2015-04-02 02:20:20 +02:00
|
|
|
!!! error TS1005: '{' expected.
|