UNPKG

hono

Version:

Web framework built on Web Standards

8 lines (6 loc) 296 B
import type { Params } from '../../router'; export declare class Node<T> { constructor(method?: string, handler?: T, children?: Record<string, Node<T>>); insert(method: string, path: string, handler: T): Node<T>; search(method: string, path: string): [[T, Params][]]; }