type
http.RequestListener
type RequestListener<Request extends typeof IncomingMessage = typeof IncomingMessage, Response extends typeof ServerResponse = typeof ServerResponse> = (request: InstanceType<Request>, response: InstanceType<Response> & { req: InstanceType<Request> }) => void