News for hackers. Stuff that matters.
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.