---
title: "Siddhant (@siddhantsiddh15) | Hashnode"
description: "Learning everyday to be a better programmer. Read the latest articles by Siddhant on Hashnode."
url: "https://hashnode.com/@siddhantsiddh15"
---

@siddhantsiddh15

# Siddhant

@siddhantsiddh15 · India · Joined August 2022

Learning everyday to be a better programmer

### [Adding Custom property to Request Object globally using TypeScript](https://siddhantsiddh15.hashnode.dev/adding-custom-property-to-request-object-globally-using-typescript?utm_source=hashnode&utm_medium=feed)

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

1 min read · [siddhantsiddh15.hashnode.dev](https://siddhantsiddh15.hashnode.dev/adding-custom-property-to-request-object-globally-using-typescript?utm_source=hashnode&utm_medium=feed)

[Jun 21, 2025](https://hashnode.com/posts/adding-custom-property-to-request-object-globally-using-typescript/6857051e73fb35fc1b0e9814)

### [Setting up Express with TypeScript](https://siddhantsiddh15.hashnode.dev/setting-up-express-with-typescript?utm_source=hashnode&utm_medium=feed)

Integrating TypeScript with JS libraries To integrate we can have three solutions. Use a library normally, adding basic type annotations wherever possible. Use a TypeScript adapter library that has helpers for using library with TypeScript Change ...

3 min read · [siddhantsiddh15.hashnode.dev](https://siddhantsiddh15.hashnode.dev/setting-up-express-with-typescript?utm_source=hashnode&utm_medium=feed)

[Dec 2, 2023](https://hashnode.com/posts/setting-up-express-with-typescript/656b6e086d11cfc53f347fcf)

### [Enums in TypeScript](https://siddhantsiddh15.hashnode.dev/enums-in-typescript?utm_source=hashnode&utm_medium=feed)

For having different types of values associated with variable we can use an object and have keys attached to our requirement. const MatchResult = { HomeWin: 'H'; AwayWin : 'A'; Draw : 'D'; } // OR WE CAN DO THIS const homeWin = 'H'; cons...

2 min read · [siddhantsiddh15.hashnode.dev](https://siddhantsiddh15.hashnode.dev/enums-in-typescript?utm_source=hashnode&utm_medium=feed)

[Nov 26, 2023](https://hashnode.com/posts/enums-in-typescript/6563a5ac13d261b2d6b9a9f9)

### [Tuples in TypeScript](https://siddhantsiddh15.hashnode.dev/tuples-in-typescript?utm_source=hashnode&utm_medium=feed)

What is a Tuples Tuple is an array like structure where each element at every index represents some property of a record. But the difference is that every single element inside the array like structure will represent one particular property about som...

3 min read · [siddhantsiddh15.hashnode.dev](https://siddhantsiddh15.hashnode.dev/tuples-in-typescript?utm_source=hashnode&utm_medium=feed)

[Nov 26, 2023](https://hashnode.com/posts/tuples-in-typescript/65639b07774e179de6a2caa4)

### [Interfaces in TypeScript](https://siddhantsiddh15.hashnode.dev/interfaces-in-typescript?utm_source=hashnode&utm_medium=feed)

Why we need Interfaces The interplay between Interfaces and Classes is how we will get a strong code re-use in TypeScript. Interfaces create a new type, describing the property names and value types of an object So consider we want to make a functi...

3 min read · [siddhantsiddh15.hashnode.dev](https://siddhantsiddh15.hashnode.dev/interfaces-in-typescript?utm_source=hashnode&utm_medium=feed)

[Nov 26, 2023](https://hashnode.com/posts/interfaces-in-typescript/65639267053cf7d78b59e950)
