Skip to content

Tag Archives: TypeScript

TypeScript supports object-oriented programming features like classes and interfaces etc. classes are the skeletons for the object. it encapsulates the data which is used in… Read More
In Typescript, we can specify an indefinite number of arguments as an array using the rest parameter syntax. A function can be called with any… Read More
In Typescript, any value can be assigned to unknown, but without a type assertion, unknown can’t be assigned to anything but itself and any. Similarly,… Read More
Any is a data type in TypeScript. Any type is used when we deal with third-party programs and expect any variable but we don’t know… Read More
The never type represents a wide range of type of values that never occur. This means that it could be the return type of a… Read More
Typescript validates your JavaScript ahead of time with static type checking. The code is interpreted by a browser, but if your code is broken you… Read More
In this article, we will see how do we use declare keyword in Typescript. The declare keyword in TypeScript is used for the Ambient declaration… Read More
Tuples in TypeScript are basically a simple Array with definite length and definite Data-type. Destructuring means breaking the structure. In this article we will see… Read More
TypeScript is an object-oriented, strongly-typed, compiled language developed by Microsoft Corporation. It is a superset of javascript which means every sustainable JavaScript code is essentially… Read More
In this article, we will see how we create conditional types in TypeScript. Taking a decision makes function useful for a different type of input.… Read More
TypeScript is an open-source programming language. It is a superset of JavaScript language. Type-Script is designed for the development of large applications. It is developed… Read More
Loops are used to execute a specific block of code a specific number of times. There are 2 types of loops in TypeScript which are… Read More
TypeScript is a JavaScript-based programming language with a typed syntax. It provides improved tools of any size. It adds extra syntax to JavaScript. This helps… Read More
A module is a piece of code that can be called or used in another code. There is nothing new about modules in Typescript. The… Read More
Before starting with importing modules, first of all, we need to know the basics of modules in TypeScript. We know that JavaScript has come with… Read More

Start Your Coding Journey Now!