-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
MEAN Web Development - Second Edition
By :
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 the features in TypeScript were already implemented in ES2015, we'll touch a few basic features that we'll need and didn't get in the current specifications.
Types are a major part of every programming language, including JavaScript. Unfortunately...