{

Typescript Language Complete tutorials and Examples


Typescript is a popular open-source programming scripting language. I have written a lot of articles about typescript language. This is a summary page of all articles in order.

Typescript tutorial

To have a complete understanding of typescript, Please read the below articles complete understanding.

All the posts provide a complete basic understanding of language features and detailed explanations with examples

All the posts are in order feature-wise.

Latest Typescript Update

You can install the latest typescript update using npm install typescript

Latest Typescript version

The latest typescript version is 4.5.4 released in Dec 2021

Typescript . It includes the following features

  • tuple and array types
  • types versions
  • .then refactor changes
  • function declaration changes on properties

Learn Typescript 3.0 features

It is the latest typescript language and compiler with structural changes and features - Project references, Tuple Types, UnknownType, and API Breaking changes.

Typescript tutorial for Beginners

install, setup, and Hello world

It is starting an article in the typescript series. It explains why language is required, the advantages, disadvantages of typescript, and the basics of the compilation process. And also provides installation of typescript and tsc command options. It has a basic example of the Hello world demo example.

Typescript basics

Datatypes Basics with examples

This tutorial is to provide basic data types of language and their usages and explanations with basic examples.

Learn String Object with examples

This article is about String object syntax, usages, and various methods and also has various basic examples.

Enumeration Basics with examples

It has detailed explanations about the Enum declaration and various examples like string and enum conversions.

Learn InstanceOf, typeOf operator with examples.

It has a clear explanation and example usage for typeOf and instanceOf operators in typescript.

Operators - Various operators are listed out here

Logical Operator -

This blog is about boolean operators with examples.

Arithmetic logical operator

- Various operators with Equality operators examples.

Bitwise, Assignment operators

- Examples for Bitwise, Assignment, and Comma operators

Ternary, String and Negation Operators

This post contains the basics of conditional, Negation, and String append operators with examples.

Array Object with examples

This post is about Array objects with methods tutorials and examples.
Object Type and examples

Object-Oriented Typescript examples

Function and Constructor overload
It covers different ways to create an overload of a function and constructor.
Classes and Objects
This post is about classes, object creation, and inheritance with examples.
Interfaces:-
It covers the Interface type safety, Optional and readonly tutorials with examples.
Abstract classes :-
This post, covers Abstract classes, Implements Interfaces, and the static keyword with examples.
Encapsulation :-
It provides examples of Encapsulation and set/get Accessors methods examples.
Polymorphism :-
It covers Function Overloading, Overriding, and Interface with examples
Static Keyword and Constructor
It includes properties or member variables, Constructors, and methods of a class with an example. Switch example

Basic Common Examples

Convert String and Number to and from example.

This has clear steps for conversion of string to number and number to string with examples.

Typescript Compiler

tsconfig.json options:- This post describes language compiler options in typescript.

Object Convert in Typescript examples

String to Date or Date to String example
This post is about different ways to convert string to date and date to string in javascript as well as typescript
String to Boolean or Boolean to String example This article is finding ways to convert a string to boolean or boolean to string with examples.
Map JSON to Interface mapping This explained different ways of converting JSON objects to interfaces or classes. This includes JSON custom object, parent and child object with examples.

THE BEST NEWSLETTER ANYWHERE
Join 6,000 subscribers and get a daily digest of full stack tutorials delivered to your inbox directly.No spam ever. Unsubscribe any time.

Similar Posts
Subscribe
You'll get a notification every time a post gets published here.