4 ms·
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 faceboo
by qwertyuiop924 10y ago
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.
- spion 10y agoYeah, it might be a good idea. A parser plugin to parse valid typescript, and a strip-types stage that strips them out.
- qwertyuiop924 10y ago...And that's what Flow does.