dactylographie req.User

// add this in your types.d.ts
declare global {
  namespace Express {
    interface Request {
      user: any
    }
  }
}
Frantic Flatworm