News for hackers. Stuff that matters.
Re:Announcing TypeScript 2.0 by spion on Thursday September 22, 2016 @08:15PM (#12561415)
The problem is, Microsoft can't really do this. If they hired the creator of Babel, then proceeded to add TypeScript parsing support to it, they would immediately be accused of trying to "embrace, extend, extinguish".

On second thought, that might not be such a bad idea. Babel already parses some type annotations, why not also add the little extra syntax supported by TypeScript?

Re:Announcing TypeScript 2.0 by qwertyuiop924 on Thursday September 22, 2016 @09:16PM (#12561652)
Babel has a plugin architecture. MS could implement the TS extensions as a Babel plugin, and it would integrate with any other Babel plugin. That's what facebook did.
Re:Announcing TypeScript 2.0 by spion on Friday September 23, 2016 @02:37PM (#12566928)
Yeah, it might be a good idea. A parser plugin to parse valid typescript, and a strip-types stage that strips them out.
Re:Announcing TypeScript 2.0 by qwertyuiop924 on Friday September 23, 2016 @04:45PM (#12567818)
...And that's what Flow does.