Hacker News new | ask | show | jobs
by silverwind 698 days ago
Namespaces are also not supported as per https://github.com/nodejs/node/blob/main/doc/api/typescript.....

I for one can can live without all these features and will be banning via eslint.

1 comments

Yes. Both namespaces and enums (and probably the "private" keyword on class methods) are an early addition to the language, which would have never been added if typescript from the very start aligned closely with Ecmascript.