Course · Training · Workshop

TypeScript

Two days of TypeScript as a typed superset of JavaScript: basic types, generics, decorators, classes and interfaces – for stable software in frontend and backend.

As a specified and typed superset of JavaScript, TypeScript provides not only a language, but also a transpiler that checks the code and translates it to the desired target version of JavaScript. Thus, more stable and durable software can be developed based on JavaScript.

What participants say

These customers booked courses in the same topic cluster.More customers →

Content

  • Setup TypeScript and Type Dependencies
  • Migration of a simple JavaScript project to TypeScript
  • Basic types and understanding their implementation
  • OOP with and without TypeScript
  • Classes and interfaces
  • Advanced types
  • generics
  • decorators
  • Modules & Namespaces
  • Use of non-typed libraries
  • Use in the frontend
  • Use in the backend
  • Setup IDE and Intellisense
  • Linting and static code analysis

The actual course content may differ from the above depending on the trainer, delivery, duration and the composition of participants.

Request this course in-house

Request a public date

No suitable public date? Register without obligation — once there is enough interest we schedule a new public date and let you know first.

Number of participants (approx.)

More than 3 participants? Best to request a dedicated in-house date directly.

More about TypeScript

TypeScript is a typed superset of JavaScript ("ES202X") that compiles to plain JavaScript. It offers classes, modules, and interfaces to help you build robust components. It is used for large projects and is implemented by Microsoft. Using TypeScript helps in catching errors in the IDE and on transpilation time.

Further resources:

History

TypeScript was created by Anders Hejlsberg, Steve Lucco, and Jonathan Turner at Microsoft in 2012 to address the shortcomings of JavaScript in large-scale application development. It aimed to provide static typing and better code organization. It's worth noting that Visual Studio Code, also by Microsoft, is written entirely in TypeScript, showcasing the language's capabilities.

One of the first major projects to adopt TypeScript was Angular, which significantly boosted its popularity and demonstrated its capabilities in building complex web applications.

Today, there's a trend towards rewriting everything written in JavaScript ("ES202X") in TypeScript, due to its improved maintainability and reduced runtime errors. This shift highlights the growing recognition of TypeScript as a superior choice for building robust and scalable applications.