Hacker News new | ask | show | jobs
by nmdanny 3521 days ago
Typescript is a superset of ES6 anyway, proper JS documentation(e.g MDN) does have the notion of types anyway, but basing the documentation on TS means that the types are sound and consistent along the library.
1 comments

Strictly speaking, TypeScript isn't a sound type system: https://www.typescriptlang.org/docs/handbook/type-compatibil...