Re:Babili: An ES6+ aware minifier based on Babel
by k__ on Tuesday August 30, 2016 @06:09PM
(#12394359)
What has this to do with TypeScript?
[ Parent
| on HN ]
Re:Babili: An ES6+ aware minifier based on Babel
by anotherthing on Tuesday August 30, 2016 @06:25PM
(#12394459)
Can babili or babel parse TS?
Re:Babili: An ES6+ aware minifier based on Babel
by pipeep on Wednesday August 31, 2016 @04:08AM
(#12396734)
Babel can parse Flow, which is similar to Typescript. However, Babel doesn't have any built-in support for inferring or analyzing flow types. However, some of this type information might be useful in building a more advanced closure-like minifier.