Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/hono/hono-base.ts>HonoBase#route

Lightweight, Ultrafast, Web Standards
Extremely Popular
Go to Latest
method HonoBase.prototype.route
import { HonoBase } from "https://deno.land/x/hono@v3.7.1/hono-base.ts";

Type Parameters

SubPath extends string
SubEnv extends Env
SubSchema extends Schema
SubBasePath extends string

Returns

Hono<E, MergeSchemaPath<SubSchema, MergePath<BasePath, SubPath>> & S, BasePath>

Type Parameters

SubPath extends string

Returns

Hono<E, RemoveBlankRecord<S>, BasePath>