Adding Custom property to Request Object globally using TypeScript
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...
siddhantsiddh15.hashnode.dev1 min read