Answer the question
In order to leave comments, you need to log in
Angular 2 typesript or es6?
So I decided to learn Angular 2, but what should I use ts or es6?
Answer the question
In order to leave comments, you need to log in
It is sharpened specifically for TS. The choice is obvious, but TS itself is very good for serious projects.
ES2015 ⊂ TypeScript
TypeScript includes if not all, then almost all of ES2015 + all sorts of types, interfaces, abstract classes, and so on. It is not necessary to use all these features, although, for example, it is easier for me to write a little extra code (describe interfaces, declare types) and catch some errors at the compilation stage than to catch them at runtime.
TS is obvious, if you learn, then you will find the answer to any of your questions in 95% of cases using TS
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question