import { type RouterMiddleware } from "https://dotland-vbqsvsrpfncg.deno-staging.dev/x/oak@v17.1.2/router.ts?p=prototype.delete&s=RouterMiddleware";
The interface that Router
middleware should adhere to.
Type Parameters
R extends string[src]
optional
P extends RouteParams<R> = RouteParams<R>[src]Call Signatures
(context: RouterContext<R, P, S>, next: () => Promise<unknown>): Promise<unknown> | unknown[src]