TypeScript Programming
TypeScript is a strongly typed programming language which is built on top of JavaScript. It includes a typing system to facilitate the validation of JavaScript applications.
12 hours
Online
English
WEB-015
TypeScript Programming
Sign Up
Duration
12 hours
Location
Online
Language
English
Code
WEB-015
Schedule and prices
€ 290
Training for 7-8 or more people? Customize trainings for your specific needs
TypeScript Programming
Sign Up
Duration
12 hours
Location
Online
Language
English
Code
WEB-015
Schedule and prices
€ 290
Training for 7-8 or more people? Customize trainings for your specific needs

Description

TypeScript was selected as a main language for the Angular framework, and nowadays it is widely used for React development and for building any enterprise-level Frontend applications.

It gives you the possibility to use the syntax which is closer to languages like Java or C#, and allows you to write more accurate, convenient, and easy to maintain code.
After completing the course, a certificate
is issued on the Luxoft Training form

Objectives

  • Introduce JavaScript developers to the TypeScript syntax and features
  • Show participants how these features could be effectively used

Target Audience

  • JavaScript developers

Prerequisites

  • Prior experience with JavaScript, NPM, WebPack

Roadmap

TypeScript basics
  • TypeScript: Background and foundations
  • Basic types in TypeScript
  • ES2015+ features used in TS
  • ES2015 modules, import and export
  • Type cast
  • Practice (environment setup, Webpack installation and configuration, attaching TypeScript compiler)

Other types in TypeScript
  • Function types
  • Literal types
  • Union types
  • Working with null and undefined, configuring strictNullChecks
  • Interfaces and structural types
  • Optional properties in interfaces
  • Indexable type
  • Classes and interface implementation
  • Extending interfaces
  • Type cast
  • Function types with interfaces
  • Hybrid interfaces
  • Function overloading
  • Practice (writing an object-oriented application, using typing, classes, interfaces, encapsulation, polymorphism)

Integration of TypeScript with JavaScript libraries (from npm and your own)
  • Type declaration
  • Practice: connecting JS code
  • Practice: connecting external JS libraries
  • Practice: connecting and typing your own JS libraries

Classes in depth
  • Private, protected, and public fields
  • Static class fields
  • Static properties
  • Using class as interface
  • Readonly modifier
  • Class expressions
  • Abstract classes

Types in depth
  • Type cast
  • Contextual type
  • Type compatibility
  • Interface merge
  • Intersection types
  • Local type definition
  • Strict literal assignment checking
  • Strict literal types and their merging
  • Discriminators
  • Polymorphic type this
  • Type guards
  • Using typeof for type guards
  • Type narrowing with type guards
  • Type narrowing with instanceof
  • Nullable types

Decorators
  • Declarative programming with decorators
  • Changing property definitions with decorators
  • Extending classes
  • Meta-programming with decorators
  • Access restriction with decorators
  • Using wrappers for changing function behavior
  • Decorators with parameters
  • Decorator for methods
  • Practice: validation of property with decorators
  • Practice: implementation and configuration of logging with decorators

Generic types
  • Purpose of generic type
  • Working with generic arrays
  • Using constraints with generic types
  • Generic classes
  • Generic interfaces
  • Generic classes with type assertion to any
  • Generic classes with overloaded methods
Schedule and prices
View:
Register for the next course
Registering in advance ensures you have priority. We’ll notify you when we schedule the next course on this topic
+
Courses you may be interested in
JavaScript development
In this training we look at JavaScript (EcmaScript 2015+), using JavaScript for working in browsers (UI events, manipulating HTML with DOM CSS), JavaScript modules (NPM, Webpack), working with the server (HTTP protocol, REST, AJAX, Axios, WebSocket).
Online:
06.06.2022 - 20.06.2022
React Development
This course covers the JavaScript library React.js, FLUX architecture and its most popular implementation – REDUX.
Angular Development
The Angular 9 framework has been completely redesigned to meet the current web-development requirements. Now the framework is written not in JavaScript, but TypeScript language - typed and more convenient for the development of large applications.
View Catalog
Your benefits
Expertise
Our trainers are industry experts, involved in software development project
Live training
Facilitated online so that you can interact with the trainer and other participants
Practice
A focus on helping you practice your new skills
Still have questions?
Connect with us
Thank you.
Your request has been received.
Thank you!
The form has been submitted successfully.