TypeScript Tuples We know that an array holds multiple values of the same data type. But sometimes, we may need to store…
Typescript Tutorial
-
-
TypeScript Arrow function ES6 version of TypeScript provides an arrow function which is the shorthand syntax for defining the anonymous function, i.e.,…
-
TypeScript Function Parameter Functions are the basic building block of any application which holds some business logic. The process of creating a…
-
TypeScript Tutorial TypeScript tutorial provides basic and advanced concepts of TypeScript. Our TypeScript Tutorial is designed for beginners and professionals both. TypeScript…
-
TypeScript Function Functions are the fundamental building block of any applications in JavaScript. It makes the code readable, maintainable, and reusable. We…
-
TypeScript Type Annotation We know that JavaScript is not a typed language so we cannot specify the type of a variable such…
-
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…