Accelerated TypeScript

Fast-track your TypeScript in just 2 days. A live classroom experience that teaches the language through a mix of explanation, demos, exercises, and live coding, all taught by industry veterans.

The training takes place between 9am and 5pm (GMT) on 19th and 20th May 2021.

You can also book this course directly through our booking team. Please email training@instil.co for more details.

Tickets

Schedule

May 19th, 2021

9:00am – 5:00pm BST
Day 1

May 20th, 2021

9:00am – 5:00pm BST
Day 2

Additional Information

Overview

Join us this May to discover why everyone in the JavaScript community is loving TypeScript.

JavaScript is a powerful language that is ubiquitous in the Web. However, its dynamic and interpreted nature can lead to problems at scale, problems that are mitigated in other languages by compilation and static typing. TypeScript brings these benefits to the JavaScript universe.

TypeScript is a type safe superset of JavaScript that allows us to write clean, simple code that runs anywhere JavaScript does. Unlike other languages that can transpile to JavaScript, the interop between JavaScript and TypeScript is a primary engineering concern. As a superset, all JavaScript skills and legacy code are readily reusable. Type safety brings many benefits, including catching bugs at compile time instead of run time, advanced static analysis tooling, powerful refactorings, better IDE experience etc.

In this two day course you'll gain a complete understanding of TypeScript, including the advanced features such type unions, intersections, mapped types and more.

Outline

Introduction and Setup

  • Why do we need TypeScript?
  • What is Transpilation
  • The difference between the TypeScript compiler and Babel
  • Setting up a build environment with Webpack
  • Support for TS in the IDE
  • Configuring TypeScript via tsconfig.json
  • Decoding the transpiled output

TypeScript Fundamentals

  • The basic types supported by TS
  • The power of type inference
  • Comparing any and unknown
  • The difference between Casting and Type Assertions
  • TypeScript as a superset of Modern JavaScript
  • Enhancements to function declarations
  • Using function types and higher order functions
  • How function overloading works in TypeScript
  • Numeric, String and const enumerations

Object Oriented TypeScript

  • The TypeScript class model in depth
  • Access modifiers and support for JavaScript private
  • Enforcing contracts via interfaces
  • Readonly properties and Accessors
  • Support for generic types and constraints

Advanced TypeScript

  • Advanced features of TS interfaces
  • The difference between object literals and type literals
  • Using string and number literals as Types
  • Type Aliases, Unions and Intersections
  • Smart Casting and Type Guards
  • Defining mapped types and the infer keyword
  • Utility types and type programming
  • ts-toolbelt and utility-types
  • Using class Decorators
  • Understanding Symbols
  • Generator functions
  • Writing asynchronous TypeScript

Testing TypeScript

  • Mock objects in a strongly typed world
  • Leveraging the Builder pattern
  • Testing asynchronous TypeScript

Requirements

Delegates must have some JavaScript experience.

Feedback

  • "Garth and Eamonn did as excellent a job in delivering the most simple concepts of Typescript as they did the more tricky and more complex aspects - the exercises were extremely well thought out and helped to solidify my understanding and build my confidence in applying what had been covered in each topic. Many thanks guys!"
  • "Very enjoyable and well thought out course - taught me a lot of things I didnt know about Typescript (well - as a beginner, I didnt really know a lot, but definitely a stronger base now!). As always Garth and Eamonn were very engaging and knowledgeable regarding the content, and were very open regarding stopping them to ask questions."
  • "I really enjoyed the course overall, and there was a great mix of taught content as well as practical examples and exercises. The instructors were, as always, first class, incredibly knowledgeable, and always willing to take time to answer questions and help our understanding"