4 ms·
One of the cornerstones of TypeScript is that types do not not alter the semantics of the underlying JavaScript. You can compile TypeScript by just ignoring all
by jahewson 8y ago
One of the cornerstones of TypeScript is that types do not not alter the semantics of the underlying JavaScript. You can compile TypeScript by just ignoring all the types and dealing with only the minimal syntax which it adds to ES6/7.
- bastawhiz 8y agoTypeScript does add features like enums and decorators, though, which are not present in the underlying JavaScript.