14 lines
283 B
JavaScript
14 lines
283 B
JavaScript
|
//// [classWithPredefinedTypesAsNames2.ts]
|
||
|
// classes cannot use predefined types as names
|
||
|
|
||
|
class void {}
|
||
|
|
||
|
//// [classWithPredefinedTypesAsNames2.js]
|
||
|
// classes cannot use predefined types as names
|
||
|
var = (function () {
|
||
|
function () {
|
||
|
}
|
||
|
return ;
|
||
|
})();
|
||
|
void {};
|