Y
Hacker News
new
|
ask
|
show
|
jobs
by
williamcotton
3896 days ago
There's no need to choose between TypeScript or Babel!
You can use TypeScript with --target es6 and then use babel as a secondary transpiler.
2 comments
dangoor
3896 days ago
Isn't the problem that the TypeScript compiler doesn't support all of the ES6 features that Babel does?
link
claar
3896 days ago
This was my first thought too, but this screws up source maps and I can't think of how to fix source maps when using two transpilers. Any ideas?
link