Introduction to TypeScript

TypeScript is a typed programming language created by Microsoft, which uses the object-oriented foundations of C#, Java, and now ES2015. Code written in TypeScript is transpiled into JavaScript code either in ES3, ES5 or ES2015 and can be run on any of the modern web browsers. It is also a superset of ES2015, so basically, any JavaScript code is valid TypeScript code. The idea behind this was to create a strongly typed programming language for big projects that will allow big teams to better communicate the interface between their software components. As derived from its name, TypeScript has an optional type system that allows developers to enforce limits on their code in order to have better clarity. Since a lot of ...

Get MEAN Web Development - Second Edition 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.