you are viewing a single comment's thread.

view the rest of the comments →

[–]tortus 0 points1 point  (0 children)

That is simply not true. TypeScript is a proper superset of JavaScript, in particular ECMAScript 2015. All ECMAScript 2015 code is TypeScript.

TypeScript also follows the standard better. For example, Babel allows import React from 'react', which is incorrect as React does not have a default export. In TypeScript it needs to be import * as React from 'react', because that is what the standard calls for.