Added TypeScript 2.2 support
Angular 4 has upgraded from TypeScript version 2.0 to version 2.2. TypeScript is a super-set language of JavaScript that adds additional language features including strict type checking that will compile to normal JavaScript. Updates in TypeScript includes considerable amount of changes in specific language features, digging into which is beyond the scope of the book. However, one new feature in TypeScript 2.2 that Angular developers may find very useful, is the new support for the ECMAScript 2015 mixin class pattern. Mixins provide a new way to compose shared behaviors and functionality on classes without them needing to inherit from a base class. For example, consider you have multiple Angular components that ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access