3 TYPESCRIPT
TypeScript is a programming language that adds static typing to the dynamically typed JavaScript language. It’s a strict syntactic superset of JavaScript, which means that all existing JavaScript is valid TypeScript. By contrast, TypeScript is not valid JavaScript, because it supplies additional features.
This chapter will introduce you to the pitfalls of working with JavaScript’s dynamic types and explain how TypeScript’s static typing helps catch errors early, increasing the stability of your code. Full-stack developers have embraced TypeScript: it was the runner-up in the most wanted category of a recent Stack Overflow Developer ...
Get The Complete Developer now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.