MiddlewareArgsLike: { request: { headers: { [key: string]: string } } }

Minimal type for the arguments passed to a middleware function

Type declaration

  • request: { headers: { [key: string]: string } }