TypeScript Type Annotation We know that JavaScript is not a typed language so we cannot specify the type of a variable such…
Typescript Tutorial
-
-
TypeScript Generics TypeScript Generics is a tool which provides a way to create reusable components. It creates a component that can work…
-
TypeScript Type Assertion In TypeScript, type assertion is a mechanism which tells the compiler about the type of a variable. When TypeScript…
-
TypeScript Classes In object-oriented programming languages like Java, classes are the fundamental entities which are used to create reusable components. It is…
-
TypeScript Type Inference In TypeScript, it is not necessary to annotate type always. The TypeScript compiler infers the type information when there…
-
TypeScript Inheritance Inheritance is an aspect of OOPs languages, which provides the ability of a program to create a new class from…
-
TypeScript Type The TypeScript language supports different types of values. It provides data types for the JavaScript to transform it into a…
-
Components of TypeScript The TypeScript language is internally divided into three main layers. Each of these layers is divided into sublayers or…
-
TypeScript Union In TypeScript, we can define a variable which can have multiple types of values. In other words, TypeScript can combine…
-
TypeScript Date Object The Date object represents a date and time functionality in TypeScript. It allows us to get or set the…