About the course
Our instructor-led TypeScript training course will get you up to speed with Microsoft's popular superset of JavaScript.
Typescript brings strong types to your JavaScript projects. Your code will become more robust
You will identify potential problems earlier. The code your team writes will more clearly communicate its meaning and intent. Typescript will encourage a workflow where your code is always working
This course can be customised for private / in-house delivery to run alongside your favourite JS frameworks and libraries such as Angular, React, GraphQL, Node.js and even bring in topics from our Advanced TypeScript training course - let us know about your specific learning goals and project requirements to find out how we can help.
Our standard course focuses on learning TypeScript within the context of Web Application development, but can be adapted and blended with with other libraries and frameworks such as React Native, Electron, or for IoT applications (for instance, with a focus on DeviceScript).
Instructor-led online and in-house face-to-face options are available - as part of a wider customised training programme, or as a standalone workshop, on-site at your offices or at one of many flexible meeting spaces in the UK and around the World.
-
By the end of this course, attendees will be able to:
- Gain TypeScript skills to build more robust and maintainable JavaScript applications.
- Understand functions, higher-order functions, and advanced types to write expressive and type-safe code.
- Implement interfaces and inheritance to create flexible and scalable object-oriented designs.
- Leverage decorators to add metadata and enhance the functionality of your classes and methods.
- Create loosely coupled and highly testable applications with dependency injection.
- Handle asynchronous operations with ease and precision using Promises and TypeScript.
- Integrate TypeScript into your existing JavaScript projects and frameworks.
- Tackle asynchronous code with greater clarity and control.
-
Our TypeScript workshop is suitable for developers looking to quickly grasp the fundamentals needed to use TypeScript in the wild - for instance alongside another JavaScript framework.
-
Delegates should have attended our Modern JavaScript training course or have equivalent experience with the fundamentals of JavaScript development.
Please let us know if you if you need a JavaScript primer if you're coming from another language such as C#, Python, or Java as we can tailor a training programme that draws upon topics across many relevant JavaScript-related courses.
-
This TypeScript course is available for private / custom delivery for your team - as an in-house face-to-face workshop at your location of choice, or as online instructor-led training via MS Teams (or your own preferred platform).
Get in touch to find out how we can deliver tailored training which focuses on your project requirements and learning goals.
-
TypeScript Fundamentals
Motivation and origin
Tooling
Built in types
Making your own types
Declaration files
Why declaration files?
Creating declaration files
Dealing with 3rd party coding libraries
Functions
Parameters
Arguments
Return types
Type inference
this
Closures and scope
Currying
Functional programming
Error handling
Classes and Objects
Classes, Objects and constructors
this (again)
Interfaces
Combining classes
Interfaces and Inheritance
Writing interfaces
TypeScript inheritance
Extending base classes
Advanced types
Type Aliases
Type literals
Intersection types
Union types
Index types
Decorators
Reflection
Why decorators?
Decorator syntax
Decorator factories
Class decorators
Property injection
Method and accessor decorators
Decorators on instance functions
Decorators on static functions
Metadata in decorators
Property decorators
Parameter decorators
Dependency Injection in TypeScript
DI Design Patten
DI in Angular
DI in Nest.js
InversifyJS
Generics and Conditional Types
Generics
Generic Interfaces
Generic Types
Generic Classes
Generic Functions
Generic Constraints
Generic Defaults
Event loop and asynchronous
Multi-threaded vs single-threaded
Event driven architecture
AJAX
Promises
async/await
Higher-order functions and callbacks
HOFs
Callbacks
Avoiding callback hell
Chaining callbacks
Promises in TypeScript
Anatomy of a Promise
Lifecycle of a Promise
Promise helpers
Enhancing Promises with Types
Polyfilling Promises
fs Promises API
Working with Databases
Developing with REST
Async/Await in TypeScript
Evolution and motivation
Transpilation targets
async/await
Exception handling
Top-Level await
Considerations for using Typescript with JS frameworks
React
Vue
Angular
You name it!
-
https://www.typescriptlang.org/ - the home of TypeScript
https://nodejs.org/en - To get started with TypeScript, you need npm (included with Node)
https://www.jetbrains.com/webstorm/ - popular JS and TypeScript editor from JetBrains
https://code.visualstudio.com/docs/languages/typescript - code with TypeScript in VS Code
Trusted by