Hacker News new | ask | show | jobs
by MarquesMa 1467 days ago
I would say it would be great to merge with TypeScript.

It would greatly reduce the need of those crazy building tools nowadays. Now we have HTTP2, if only we can write and serve a bunch of TypeScript files directly. Be it browser, Node.js or Deno, you could use the same script file without setting up M*N different webpack.whatever.config.js files.

And it will also open up the possibility of optional runtime type checking which JavaScript as a glue language really needs.

TypeScript has been very cautious about adding non-JavaScript features, and kept its promise on JavaScript compatible, so I don't see big problems merging them. It's just people will need to figure out a spec to formalize the type system for TypeScript.

The only risk is there might be clash of the communities. But it also might get us great results where the whole community working on a great project together.