Adding Custom property to Request Object globally using TypeScriptTypeScript will not recognise any custom property when we are trying to access it without declaring, to prevent TS from throwing an error when we want to access any custom property say req.user we need to declare it globally by using module augmentat...Jun 21, 2025·1 min read
Generics in TypeScriptGenerics are like function arguments, but for types in class and function definitions in TypeScript. Generics always allows us to define the type of a property/argument/ return type value at a future point. it is used heavily when writing re-usable c...Nov 25, 2023·3 min read
Decorators in TypeScript : An introductionWhat is a Decorator In this blog we will look into what is the purpose of adding decorators in TypeScript code. We will go through the definition, the implementation and consider this as your go to revision tool for decorators topic. By definition : ...Nov 25, 2023·3 min read
Making a CSV file reader using TypeScriptAssuming you have concepts of classes and how we declare classes in TypeScript, we will look into how we are going to write a CSV filer reader class in this blog. Also, if you are not familiar with what a CSV file is, here is a definition I looked up...Nov 25, 2023·5 min read
An introduction to classes in TypeScriptClasses As we all know classes are blueprints of some real world entity with some values and some methods to represent that entity. It promotes code re-usability and occupies not memory until we create an instance of a class. I am assuming you know h...Nov 25, 2023·3 min read
Arrays in TypeScriptWhen we create an array, we need consistency in the type of values that are being added to the array. This feature is not present in JavaScript and hence TypeScript comes as a savior. In addition to deciding the type of value being added to the array...Sep 19, 2023·4 min read
Object Oriented Programming in JavaScriptThe following blog covers the OOP concepts such as classes, inheritance, prototype inheritance Class vs Instance Class is a factory which can produce instance. Consider 'class' is a car factory and maruti suzuki is an instance produced. Now every car...Apr 22, 2023·8 min read