ES2015 and TypeScript#

ES2015#

TypeScript builds on top of the features published in the latest ECMAScript specifications. Most notably, TypeScript supports the full list of features introduced in ES2015. Knowing these features empowers us to write more expressive and succinct code.

So far, we have been exposed to the following ES2015 features in this chapter:

  • Template literals (see Primitives section)

  • Default parameters (see Functions section)

  • Rest parameters (see Function section)

  • Arrow functions (see Function section)

  • ES Modules (see TypeScript Modules section)

 

This page is a preview of Beginners Guide to TypeScript

No discussions yet