December 2016
Intermediate to advanced
841 pages
17h
English
In this chapter, you are going to learn about annotations and decorators—the two new features based on the future ECMAScript 6 specification, but we can use them today with TypeScript 1.5.
You will learn about the following topics:
The TypeScript features in this chapter require TypeScript 1.5 or higher. We can use Gulp as we have done in previous chapters, but we need to ensure that the latest version of TypeScript is used by the gulp-typescript package. Let's start by creating a package.json file and installing the required packages:
npm initRead now
Unlock full access