TypeScript type for request object for route handlers
So far I've been writing my routes like:
What would be the type for
req
if I wanted to extract my handlers like so:
2 Replies
req
if I wanted to extract my handlers like so: