method Router.prototype.paramimport { Router } from "https://dotland-vbqsvsrpfncg.deno-staging.dev/x/oak@v11.1.0/router.ts?p=prototype.param&s=Router";param<R extends string, S extends State = RS>(param: keyof RouteParams<R>, middleware: RouterParamMiddleware<R, RouteParams<R>, S>): Router<S>Register param middleware, which will be called when the particular param is parsed from the route. Type ParametersR extends string[src]optionalS extends State = RS[src]Parametersparam: keyof RouteParams<R>[src]middleware: RouterParamMiddleware<R, RouteParams<R>, S>[src]ReturnsRouter<S>[src]