This repo will cover all the concepts required to learn Typescript from the scratch
I have created this repo as a part of self-learning and development activity by referring the Udemy Course - Understanding Typescript - 2021 Edition
concept_images
→ Structure images for referencelanguage_fundamentals
→ Minute details with examples on each and every topic in typescript
Refer here for Typescript official documentation.
Typescript Introduction
Typescript Basics & Basic Types
The Typescript Compiler
Resources
Next-Gen Javascript & Typescript
- Let vs Const
- Arrow Functions
- Default Function Value
- The Spread Operator
- Rest Parameters
- Array & Object Destructuring
Resources
- Refer here to see compatibility table
Classes and Interface
Classes
- What are classes?
- Creating First Class
- Constructor Function and This keyword
- Private and Public Access Modifiers
- Shorthand Initialization
- Readonly Properties
- Inheritance Structure
- Overriding Properting and using protected modifier
- Getters and Setters
- Static Methods and Properties
- Abstract Classes
- Singeton Pattern and Private Constructor
Interfaces
Advanced Types
Generics
Functions
- What are Generics & Built-In Generics
- Creating a Generic Function
- Working with Constraints
- Another Generic Functions
- The "keyof" constraint
Classes
Utility Types
Resources
- Learn more about Generics here