import { router } from "https://deno.land/x/cav@0.2.0-alpha.7/examples/chat/deps.ts";
Constructs a new Router handler using the provided routes. The route properties are also available on the returned Router function.
Type Parameters
S extends RouterShape
Parameters
routes: S