import { oak } from "https://deno.land/x/create_react_app@v0.1.2/deps.ts";
const { Router } = oak;
Register named middleware for the specified routes when the OPTIONS
,
method is requested.
Type Parameters
optional
P extends RouteParams = RPoptional
S extends State = RSRegister middleware for the specified routes when the OPTIONS
,
method is requested.
Type Parameters
optional
P extends RouteParams = RPoptional
S extends State = RSParameters
...middleware: RouterMiddleware<P, S>[]