throw new TypeError('Invalid argument type'); from{mypath}Desktopredditnode_modules@redisclientdistlibclientRESP2encoder.js:17 t
I am following ben's typescript GraphQL Redis tutorial I am new to typescript and first time trying redis when I add the property req.session.userId= user.id; TypeError: Invalid argument type at encodeCommand (C:Usersvikash patelDesktopredditnode_modules@redisclientdistlibclientRESP2encoder.js:17:19 my main.ts code declare module "express-session" {…