TypeScript Why and when to use TypeScript Readability


Example

TypeScript enables editors to provide contextual documentation:

Contextual autocomplete for string slice method

You'll never forget whether String.prototype.slice takes (start, stop) or (start, length) again!