Posts by Gideao • 1 point
1 post
-
-1
votes5
answers2360
viewsA: Typescript error Property 'user' does not exist on type 'Request<Paramsdictionary, any, any, Parsedqs>'
Create a file .d.ts and add the following code: import * as http from 'http'; declare module 'express-serve-static-core' { export interface Request extends http.IncomingMessage, Express.Request {…