This is an example of a simple banner

Training: Typescript

Ref. TSCRIPT
Duration:
2
 days
Exam:
Not certifying
Level:
Fundamental

TypeScript Training

TypeScript Course: Master the TypeScript Language with Ease

TypeScript has become an essential language for Angular and Node.js application developers. If you want to take your JavaScript programming to the next level, our TypeScript course is for you. This TypeScript training will guide you from the basics to advanced concepts such as type checking, object manipulation, and the use of generics.

With a clear and gradual teaching approach, you will be able to write robust, maintainable code suitable for large applications. Don’t miss the opportunity to become comfortable with this programming language through our TypeScript training and stand out as a developer.

Participant profiles

  • Newcomers in Typescript but not beginners in Javascript

Objectives

  • At the end of this training, you will have a full understanding of all major concepts of Typescript, and you will know how these concepts are implemented

Prerequisites

  • To have experience with Javascript

Course content

Module 1. Introduction

  • What is TypeScript?
  • TypeScript Philosophy
  • Why Use TypeScript?
  • Using TypeScript

Module  2. The Basics of Variables

  • Declaring a Variable
  • Declaring Types in Untyped Code
  • Hoisting Variables
  • TypeScript Scope is JavaScript Scope
  • Switch Scope
  • The Multiple Methods of Declaring a String
  • String-Tagged Templates
  • What is a Number in TypeScript?
  • Booleans, Functions, and Objects
  • Avoiding `any` at Any Time Possible
  • Mutable and Immutable Arrays
  • Undefined Versus Null
  • Returning nothing with Void
  • The Primitive Type never
  • Unknown: A Better any
  • Literal Type to Narrow Primitive Type
  • Symbol and Unique Symbol
  • Casting to Change Type

Module 3. Comment

  • TypeScript’s Comments are like JavaScript’s with One Exception

Module 4. Enum

  • Enum With and Without Values
  • Accessing Enum Values
  • Speeding Up Enum
  • Merging and Adding Functionality to Enum

Module 5. Generic Type

  • Generic
  • Generic and Classes
  • Generic Constraint
  • Generic with Construction Functions
  • Generic Outside Class
  • Generic Comparison
  • Generic Inference
  • Generic Default
  • Generic and keyof

Module 6. Functions

  • Definition
  • Named and Anonymous Functions
  • Function and Inference Variables
  • Generic Return Type, Optional Parameter and Default Value
  • Functions in Classes
  • Function Relationship with “this”
  • Function and Inference Return Types
  • Overload Functions to Enrich your Definition
  • String Literal and Overload Function
  • Types of Function Headers

Module 7. Mapped Type

  • Definition and Usages
  • Immutable Data with Readonly
  • Partial
  • Nullable
  • Pick
  • Omit
  • Record
  • Extract
  • Exclude
  • ReturnType
  • Custom Mapped Type

Module 8. Objects

  • Introduction to TypeScript’s Many Objects
  • The Curly Braces Object
  • New Object
  • Lowercase vs UpperCase Object

Module 9. Index Signature

  • Definitions and Usages
  • String or Number Indexes
  • Members of the Same Type
  • Keys with Constants and Symbols

Module 10. Variables Advanced

  • Intersecting with Types, Interfaces, and Generics
  • Literal Type, Narrowing, and Const
  • Union with Types and Tagged Union
  • Const Assertion for Literal Values
  • Tuple For Type and Length Arrays
  • Casting to Change Type
  • keyof to Validate a Member’s Name
  • On How TypeScript Handles Variance
  • How to Narrow a Type with the in Operator
  • What is a Conditional Type?
  • TypeScript Inference
  • Set and Dictionary

Module 11. Exception

  • Creating an Exception
  • Catching Synchronous Exceptions
  • Catching Asynchronous Exceptions
  • Assertion Functions

Module 12. Alias

  • Aliases with the Structural Behavior of TypeScript
  • Aliases with Type
  • Aliases with Generic Types and Recursivity
  • The Differences between Type Aliases and Interfaces
  • Branded Alias

Module 13. Type Checking

  • Comparing Variables
  • Type Checking with typeof
  • Type Checking with instanceof
  • Type Checking and Interface with a Discriminator
  • Type Checking with Intersections
  • Type Checking an Interface with Custom User-Defined Type Guard
  • Optional Chaining and Optional Element Access
  • Nullish Coalescing
  • Assertion Functions

Module 14. Iterators

  • Iterating an Object’s Keys with For-In
  • Iterating an Object with Standard For/While
  • Iterating and the Asynchronous Loop

Module 15. Manipulating Objects and Array

  • Typing an Array
  • Array with a Skipped Value
  • Destructuring an Array
  • Destructuring an Object
  • The Spread Operator and Arrays
  • The Spread Operator and Objects
  • The Bang Operator

Documentation

  • Digital courseware included

Complementary courses

Temptraining funding

ITTA is a partner of Temptraining, the continuing education fund for temporary workers. This training fund can subsidize continuing education for anyone who works for an employer subject to the Collective Work Agreement (CCT) Rental of services.

Additional information

Understanding TypeScript and Why to Adopt It in Your Projects

What is TypeScript?

TypeScript is a superset of JavaScript, designed to make the development of large applications more structured and maintainable. Simply put, TypeScript adds a layer of static typing that allows code to be checked before execution, making errors easier to detect and fix. If you wish to learn TypeScript, you will quickly discover that its approach offers greater robustness compared to JavaScript while remaining compatible with it.

Why TypeScript and Not JavaScript?

The question is often asked: why switch to TypeScript when JavaScript is so widespread? One of the answers lies in static typing. In JavaScript, variables are dynamically typed, which can lead to hard-to-spot errors. TypeScript, with its strict typing, allows you to define types in advance, which not only improves code readability but also error detection. Additionally, support for auto-completion and development tools makes TypeScript programming more enjoyable, especially on large codebases.

The Advantages of TypeScript

The advantages of TypeScript are not limited to error correction. Here are some key benefits:

  • Better maintainability: By specifying types, you can quickly understand the role of each variable in the code. This also makes team collaboration easier.
  • JavaScript compatibility: TypeScript compiles into JavaScript, meaning you can use it with any existing JavaScript project.
  • Rich development tools: Thanks to TypeScript, IDEs and code editors can provide advanced features such as auto-completion, increasing your productivity.
  • Optional typing: You can gradually start using TypeScript by adding type annotations where they are most useful.

TypeScript Training: What You Will Learn

In the TypeScript training, you will cover several essential concepts, starting with the basics of variables, static typing, and how TypeScript integrates into an existing JavaScript project.
Basics of Variables and Typing

The first module will teach you how to declare variables and use the different types available in TypeScript. You will also understand why it is important to avoid using the generic “any” type, which can quickly become a source of confusion in a project.

Generics and Advanced Functions

The module on generics will enable you to handle more flexible and reusable functions. You will see how to use them effectively with classes and functions. In parallel, you will explore the subtleties of functions in TypeScript, including function overloading and different return types.

Objects, Arrays, and Advanced Typing

One of TypeScript’s most powerful aspects lies in its ability to handle objects and arrays very precisely through mapped types. You will learn to use features such as Readonly or Partial to manipulate objects securely and efficiently.

Why Learn TypeScript?

Learning TypeScript is especially relevant for developers looking to create complex and maintainable applications. By choosing a TypeScript course, you will gain expertise that will save you time during development while improving the quality of your code.
TypeScript is not just a trend; it’s a powerful tool used by leading companies to improve the quality of their codebases.

If you’re looking to enhance your web development skills, TypeScript is a logical step after JavaScript. This TypeScript course will give you all the tools to master this programming language and integrate it effectively into your projects.

Learning TypeScript is a smart decision for any developer looking to improve productivity and project quality.

Prix de l'inscription
CHF 1'500.-
Inclus dans ce cours
  • Training provided by an industry expert
  • Digital documentation and materials
  • Achievement badge
Mois actuel

lun30Sepmar01OctVirtuelAnnuléeVirtual Etiquettes de sessionTSCRIPT

lun04Nov(Nov 4)09:00mar05(Nov 5)17:00VirtuelVirtual Etiquettes de sessionTSCRIPT

lun04Nov(Nov 4)09:00mar05(Nov 5)17:00Lausanne, Avenue Mon repos 24, 1005 Lausanne Etiquettes de sessionTSCRIPT

lun09Déc(Déc 9)09:00mar10(Déc 10)17:00VirtuelVirtual Etiquettes de sessionTSCRIPT

lun09Déc(Déc 9)09:00mar10(Déc 10)17:00Genève, Route des Jeunes 35, 1227 Carouge Etiquettes de sessionTSCRIPT

lun13Jan(Jan 13)09:00mar14(Jan 14)17:00VirtuelVirtual Etiquettes de sessionTSCRIPT

lun13Jan(Jan 13)09:00mar14(Jan 14)17:00Lausanne, Avenue Mon repos 24, 1005 Lausanne Etiquettes de sessionTSCRIPT

lun17Fév(Fév 17)09:00mar18(Fév 18)17:00VirtuelVirtual Etiquettes de sessionTSCRIPT

lun17Fév(Fév 17)09:00mar18(Fév 18)17:00Genève, Route des Jeunes 35, 1227 Carouge Etiquettes de sessionTSCRIPT

lun24Mar(Mar 24)09:00mar25(Mar 25)17:00VirtuelVirtual Etiquettes de sessionTSCRIPT

lun24Mar(Mar 24)09:00mar25(Mar 25)17:00Lausanne, Avenue Mon repos 24, 1005 Lausanne Etiquettes de sessionTSCRIPT

lun28Avr(Avr 28)09:00mar29(Avr 29)17:00VirtuelVirtual Etiquettes de sessionTSCRIPT

lun28Avr(Avr 28)09:00mar29(Avr 29)17:00Genève, Route des Jeunes 35, 1227 Carouge Etiquettes de sessionTSCRIPT

lun02Juin(Juin 2)09:00mar03(Juin 3)17:00VirtuelVirtual Etiquettes de sessionTSCRIPT

lun02Juin(Juin 2)09:00mar03(Juin 3)17:00Lausanne, Avenue Mon repos 24, 1005 Lausanne Etiquettes de sessionTSCRIPT

lun07juil(juil 7)09:00mar08(juil 8)17:00VirtuelVirtual Etiquettes de sessionTSCRIPT

lun07juil(juil 7)09:00mar08(juil 8)17:00Genève, Route des Jeunes 35, 1227 Carouge Etiquettes de sessionTSCRIPT

lun11Aoû(Aoû 11)09:00mar12(Aoû 12)17:00VirtuelVirtual Etiquettes de sessionTSCRIPT

lun11Aoû(Aoû 11)09:00mar12(Aoû 12)17:00Lausanne, Avenue Mon repos 24, 1005 Lausanne Etiquettes de sessionTSCRIPT

lun15Sep(Sep 15)09:00mar16(Sep 16)17:00VirtuelVirtual Etiquettes de sessionTSCRIPT

lun15Sep(Sep 15)09:00mar16(Sep 16)17:00Genève, Route des Jeunes 35, 1227 Carouge Etiquettes de sessionTSCRIPT

lun20Oct(Oct 20)09:00mar21(Oct 21)17:00VirtuelVirtual Etiquettes de sessionTSCRIPT

lun20Oct(Oct 20)09:00mar21(Oct 21)17:00Lausanne, Avenue Mon repos 24, 1005 Lausanne Etiquettes de sessionTSCRIPT

lun24Nov(Nov 24)09:00mar25(Nov 25)17:00VirtuelVirtual Etiquettes de sessionTSCRIPT

lun24Nov(Nov 24)09:00mar25(Nov 25)17:00Genève, Route des Jeunes 35, 1227 Carouge Etiquettes de sessionTSCRIPT

lun29Déc(Déc 29)09:00mar30(Déc 30)17:00VirtuelVirtual Etiquettes de sessionTSCRIPT

lun29Déc(Déc 29)09:00mar30(Déc 30)17:00Lausanne, Avenue Mon repos 24, 1005 Lausanne Etiquettes de sessionTSCRIPT

Contact

ITTA
Route des jeunes 35
1227 Carouge, Suisse

Opening hours

Monday to Friday
8:30 AM to 6:00 PM
Tel. 058 307 73 00

Contact-us

ITTA
Route des jeunes 35
1227 Carouge, Suisse

Make a request

Contact

ITTA
Route des jeunes 35
1227 Carouge, Suisse

Opening hours

Monday to Friday, from 8:30 am to 06:00 pm.

Contact us

Your request