M
M
Maks Burkov2017-05-26 15:15:17
JavaScript
Maks Burkov, 2017-05-26 15:15:17

Is it possible to compile TypeScript code to ES6?

Hello .
1. How adequate will this approach be for a person who prefers static typing to become familiar with ES6 through generated code from TypeScript?
2. How well does TypeScript code compile to ES6 at this time?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Novikov, 2017-05-26
@Maks00088

TypeScript already has the ability to compile to ES6, you don't need to install anything extra for this. You can use Babel+WebPack (or another bundler) if you need more features. Look at the difference between TypeScript and Flow to decide if it's worth it and which is better.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question