mirror of
https://github.com/denoland/deno.git
synced 2024-11-25 15:29:32 -05:00
2 lines
221 B
TypeScript
2 lines
221 B
TypeScript
import type { ErrorHandler, NotFoundHandler } from './hono';
|
|
export declare const compose: <C>(middleware: Function[], onError?: ErrorHandler, onNotFound?: NotFoundHandler) => (context: C, next?: Function) => Promise<C>;
|