TypeScript Unlocked: Write Safer, Smarter JavaScript

Autre

À qui s'adresse la formation?

Tout public

Durée

3,00 jour(s)

Langue(s) de prestation

EN

Prochaine session

Prérequis

Solid understanding of JavaScript fundamentals
Basic familiarity with HTML and CSS
Experience with any front-end or back-end JavaScript framework is a plus

Objectifs

This course introduces participants to TypeScript, the typed superset of JavaScript that brings structure, scalability, and reliability to modern web development. Through hands-on exercises, learners will understand how TypeScript enhances JavaScript applications with static typing, interfaces, generics, and other advanced features that make code safer and easier to maintain.

Contenu

  • Introduction to TypeScript: why and when to use it
  • Understanding transpilation and TypeScript configuration
  • Basic types and type annotations
  • Type inference and type checking
  • Interfaces and type aliases
  • Classes, inheritance, and specificities of TypeScript’s OOP model
  • Enums and constants
  • Functions: overloads, return types, and parameter typing
  • Generics and reusable patterns
  • Conditional types and utility types
  • Advanced typing: keyof, typeof, and mapped types
  • Built-in utility types (Record, Pick, Omit, etc.)
  • Working with modules
  • Integrating TypeScript into existing JavaScript projects
  • Debugging and compiler options
  • Best practices for large-scale TypeScript codebases

Méthodes pédagogiques

The course alternates between theory and guided coding exercises. Participants will progressively build and refactor a project using TypeScript features, gaining practical experience with typing strategies, debugging, and code design.

Certificat, diplôme

Certificate of participation