Property 'id' does not exist on type 'string | JwtPayload' [duplicate]
I just want to get user by id but I got an error that states id does not exist on type string , my...
Tags: typescript, node, jwt, mongodb