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...