Creative

How to Build a Type_Safe Dictionary in TypeScript ?

 In this Blog we will learn about how to Build a type_safe Dictionary using TypeScript. Dictionary in TypeScript: A dictionary is a type of data structure that is commonly used in programming languages. It is critical for JavaScript developers to work with type-safe dictionaries because s...

Creative

What is an Array & its Methods in Typescript ?

In this Blog  we will learn what is an array in TypeScript , features of TypeScript . Array :  An array is a unique kind of data type that uses a particular syntax to sequentially store many values of various data kinds. Arrays in type script: TypeScript supports the following co...

Creative

How to create an Object in Typescript ?

in this Blog we see how to Create an Object in TypeScript & Assign Properties to the Objects. Object in TypeScript: An object is an instance which contains set of key value pairs. The values can be scalar values or functions or even array of other objects. Syntax: var object_name = { ...

Creative

Using annotations & its types in TypeScript

In this blog, we’ll see a how to assign type annotations to  types to variables and functions of Typescript Type annotation in typescript? Type annotations are used in TypeScript to clearly indicate the types of identifiers such as variables, functions, objects, and so on. Assign...

Creative

What are Enum & Union in typescript ?

 In this blog we will learn about enum , union & difference between string unions & enum in Typescript. Enum in typescript : Enums are one of the few features unique to TypeScript and not a type-level extension of Enums are one of the few features unique to TypeScript and not a ty...