• Typescript

    Duration : 40 Hours

Pre requisite

 Participants should be familiar with Basic Java script ,HTML and CSS. 

Course content

Introduction 
      • Introducing TypeScript
      • Different versions in TypeScript
      • What’s new in the latest version?
      • Defining types in "JavaScript"
      • New in Typescript 6.0
      • Migrating from typescript 5.0 to 6.0
      • Defining types in Typescript
      • Configuring Your Environment
      • Running the TypeScript Compiler in Watch Mode
  Basic Types and Uses
      • String and Number types
      • Union types and type aliases
      • Function parameter and return types
      • Void and Never types
      • Null and undefined types
      • Describing Values using interfaces
Interfaces and Type aliases
      • Defining Objects with interfaces
      • Optional Properties
      • ReadOnly Properties
      • Extending Interfaces ,
      • Type Aliases and interfaces
Functions in TypeScript 
      • Understanding functions
      • Function Parameter types
      • Function Overloads
Classes

      • Declaring Enums
      • CONST and ambient Enums
      • Exhaustively checks on Enums
      • Class Properties
      • Static and Instance properties
      • Class Methods
      • Extends and Implements
      • Access Modifiers
Generics and Files
      • Introduction
      • Creating Generic Classes
      • Applying Generic Constraints
      • Introduction to “.dts” files
      • Definitely typed and @types
        • Resource Management
        • Declaration variables with using
Advanced Types & Features

      • Built in Temploral API Types
      • Map UpSert Methods
      • Conditional Types
      • Template Literal Types
      • Satisfies Operator
      • Utility types -Partial,Required,Record,Omit
Modules

      • Need for Modules
      • Organising code with namespaces
      • Using namespace to encapsulate private members
      • Internal and external modules
      • Import and exports
      • Loading modules via webpack and Vite
Decorators
      • Implementing method decorators
      • Implementing class decorators
      • Implementing property decorators
      • Implementing decorator factories
Compiler Configuration in-depth

      • tsconfig.json
      • Include and exclude files
      • Controlling the output to JavaScript
      • Emitting declaration files
      • Emitting source maps
      • Default type-safety of the compiles
      • Module scope and module option
Advanced Type Constructs

      • Type Guards
      • Type assertions
      • Mapped Types
      • Declaration Merging
Testing Typescript Code

      • Testing With Jest
      • Using Vite Test
      • any,null checks,unknown, interface usage over object
Best Practices

      • Merging Interfaces
      • Module augmentation
ES6
      • Spread Operator
      • Class Properties
      • Static and Instance properties
      • Class Methods
      • Extends and Implements  
      • Access Modifiers
Working With Objects

      • Object Destructing
      • Promises
      • Asyn/Await
      • JavaScript Modules

Introduction NodeJs

  • Native Typescript Support
  • CommonJs and ES Modules
  • Native Web API's-Fetch,Web Streams