import { type Oak } from "https://deno.land/x/oak_http_proxy@2.3.0/test/deps.ts";
const { RouterMiddleware } = Oak;
Type Parameters
optional
P extends RouteParams<R> = RouteParams<R>optional
S extends State = Record<string, any>Call Signatures
(context: RouterContext<R, P, S>, next: () => Promise<unknown>): Promise<unknown> | unknown