Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

why using typescript compiler instead of babel to transpile JS(ES6)

such as the subject.

Best Answer
0 Votes
2 REPLIES 2

such as the subject.

Best Answer
0 Votes

We use both TypeScript and Babel in our toolchain. TypeScript provides type-checking and the ability to write TypeScript code, Babel provides some ES5 transform plugins for language features that TypeScript does not have a transform for. It's not an either or thing, there's good reasons to use both of them together.

Best Answer
0 Votes