repo_description: A little router.
repo_topics: api cloudflare cloudflare-workers edge itty-router javascript middleware router serverless service-worker
code: import { IRequest } from './IRequest'
  
  export type ResponseHandler<
    ResponseType = any,
    RequestType = IRequest,
    Args extends any[] = any[]
  > = (
    response: ResponseType,
    request: RequestType,
    ...args: Args
  ) => any
  