mirror of
https://github.com/denoland/deno.git
synced 2024-12-29 10:39:10 -05:00
3 lines
221 B
TypeScript
3 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>;
|