3 ms·
Things like babel-core are still a must though.
by whatever_dude 10y ago
Things like babel-core are still a must though.
- saosebastiao 10y agoThey are? I haven't run into any problems with the latest typescript@next.
- whatever_dude 10y agoAs great as TypeScript is for enforcing certain guidelines for your own code, it does not provide much in terms of supplying polyfills so certain browsers can support some ES5/ES6 features. If you're working with the cutting edge of browsers it shouldn't be a problem, but if you need to go back a couple of years, you either need that or at the very least core-js. Even the ECMAScript feature table (https://kangax.github.io/compat-table/es6/ https://kangax.github.io/compat-table/es6/) uses Babel and TS with core-js when comparing features, otherwise it'd be heavily browser dependent.