This Typescript Complete Guide covers the Typescript language. The Typescript is called the superset of javascript because it adds static types to the dynamically typed javascript. In this Tutorial, we have created simple and step-by-step tutorials for beginners to learn all the features of Typescript.
Table of Contents
Audience
This Tutorial is intended to help a newbie or beginner programmer to get started with Typescript.
Prerequisites
This Tutorial expects, that you have a good understanding of object-oriented programming concepts. It will help you to make the most of this book. The prior knowledge of basic JavaScript is useful, but not necessary.
Table of Content
Getting Started
- Introduction To TypeScript
- TypeScript Installation and Environment Setup
- TypeScript Hello World Example
- Enable Compile on Save in Visual Studio Code
- Syntax and Basic Rules
Typescript Basics
- Typescript Data Types
- Type Annotations
- Variable Declaration
- Identifiers & keywords
- Variable Scope
- Let, Var & Const
- Constants
- Type Inference
- Any Type
Strings
Numbers
BigInt
Boolean
Null & Undefined
Objects
Special Types
Advanced Types
- Literal Type
- Union Types
- Intersection Types
- InstanceOf Type Guard
- Discriminated Unions/ Tagged Unions
- TypeOf
- Type Guards
- Nullable Types/ Non Nullable Types
- Type Assertions
- Typescript Enum
Typescript Operators
- Typescript Operators
- Arithmetic Operators
- Unary plus / Unary minus Operators
- Increment/Decrement Operators
- Comparison / Relational Operators
- Equality Operator / Strict Equality Operators
- Ternary Conditional Operators
- Logical Operators
- Bitwise Operators
- Assignment Operators
- Nullish coalescing operator
- Comma Operator in Typescript
- Operator Precedence
Flow Control Statements
- If, Else if & Nested If Statement
- Switch case statement
- Do While loop
- For Loop
- Break statement
- Continue statement
Functions
- Functions in TypeScript
- Function Overloading / Method Overloading
- Optional Parameters
- Default Parameters
- Rest Parameters
- Function Types
Custom Types
- Type Aliases
- Interface in Typescript
- Interface for function types
- Extending Interface
- Interface Vs Type Alias
Classes
- Classes in TypeScript
- Optional Property
- Readonly Property
- Public, Private & Protected Access Modifiers
- Constructor Method
- Inheritance
- Getters & Setters
- Structural Typing & Duck Typing
thanks u so much
You have PDF for typescript?
You may send that pdf for me
May you send me a PDF for this content.
If you also have a PDF for Angular and UNITY please.
tank u …!!!
Thank you for the tutorial. It was a great learning.
I appreciate the efforts and explanation of the tutorial thank to you we get to learn
Thanks