Home Web development TypeScript Books TypeScript Notes for Professionals

TypeScript Notes for Professionals [PDF]

TypeScript notes for professionals
TypeScript notes for professionals

TypeScript is a typed superset of JavaScript, which means that all JavaScript code is valid TypeScript code. TypeScript adds a lot of new features on top of that.

TypeScript makes JavaScript more like a strongly-typed, object-oriented language akin to C# and Java. This means that TypeScript code tends to be easier to use for large projects and that code tends to be easier to understand and maintain. The strong typing also means that the language can (and is) precompiled and that variables cannot be assigned values that are out of their declared range. For instance, when a TypeScript variable is declared as a number, you cannot assign a text value to it.

This strong typing and object orientation make TypeScript easier to debug and maintain, and those were two of
the weakest points of standard JavaScript.