Description
Introduction
In this module we will learn what typescript is and what the benefits of typescript are over other scripting languages. We can also learn how to install and setup the environment and how we can create our first example using typescript.
1.What is TypeScript?
2.Benefits of TypeScript:
3.Setup the Environment
4.First TypeScript Example
Data Types and Variables
In this module we will learn what the datatypes that are used in typescript are, and we will introduce into a new data type let.
- Basic Data Types
- Arrays
- Tuples
- Enum
- Any and void null and undefined
- Type Inference
- Type Casting
- Difference between let and var
- Const declaration
Destructuring & Spread
In this module we will learn how to extract the data from objects and arrays in a convenient way using destructuring and we can learn how to break arrays and objects into components using spreads.
- Array Destructuring
- Object Destructuring
- Mixed Destructuring
- Property renaming
- Default Values
- Spreads
Working with Classes
In this module we will learn how to write classes and how to create objects for our classes like we do in other programming languages like java, C# etc. And we can also learn how we can fulfil OOPS concepts using typescript.
- Writing and Using Classes
- Constructor method
- Inheritance of classes
- Type casting
- Type Assertion
- Static Properties
- Abstract class
Working with Interfaces
In this module we will learn how to work with interfaces in typescript.
- Interface Declaration and Initialization with an object
- Duck Typing
- Interface Implementation by class
- Interface having Optional Property
- Class extending another class and also implementing an Interface
- Excess Property Checks
- Indexable Types
- Extending Interfaces
Generics
In this module we will learn what are generics, when to use them and how to create generics using typescript. And its wide range of usage over all the OOPS concepts
- When to Use Generic Functions
- Generic Types
- Generic Interface
- Generic Classes
- Generic Constraints
- Using Type Parameters in Generic Constraint
Modules and Namespaces
In this module we will learn how to export and import between module. And how can we group the required modules into a namespace.
- Export Syntax
- Import Syntax
- Re-export
- Default exports
- Using require()
- Declaring and Using Namespaces
Ambients
In this module we will learn how to make use of our javascript functions with typescript.
- Definition
- Syntax
- Examples
For more inputs on TypeScript you can connect here.
Contact the L&D Specialist at Locus IT.
Locus Academy has more than a decade experience in delivering the training/staffing on TypeScript for corporates across the globe. The participants for the training/staffing on TypeScript are extremely satisfied and are able to implement the learnings in their on going projects.
Reviews
There are no reviews yet.