import { Factory } from "https://deno.land/x/hono@v4.2.2/helper/factory/index.ts";
Type Parameters
optional
E extends Env = anyProperties
createMiddleware: <I extends Input = { }>(middleware: MiddlewareHandler<E, P, I>) => unknown
Methods
createHandlers<I extends Input = { }, R extends HandlerResponse<any> = any>(handler1: H<E, P, I, R>): [H<E, P, I, R>]
createHandlers<I extends Input = { }, I2 extends Input = I, I3 extends Input = I & I2, I4 extends Input = I & I2 & I3, R extends HandlerResponse<any> = any>():
createHandlers<I extends Input = { }, I2 extends Input = I, I3 extends Input = I & I2, I4 extends Input = I & I2 & I3, I5 extends Input = , R extends HandlerResponse<any> = any>(
& I
& I2
& I3
& I4
):
createHandlers<I extends Input = { }, I2 extends Input = I, I3 extends Input = I & I2, I4 extends Input = I & I2 & I3, I5 extends Input = , I6 extends Input = , R extends HandlerResponse<any> = any>(
& I
& I2
& I3
& I4
& I
& I2
& I3
& I4
& I5
):
createHandlers<I extends Input = { }, I2 extends Input = I, I3 extends Input = I & I2, I4 extends Input = I & I2 & I3, I5 extends Input = , I6 extends Input = , I7 extends Input = , R extends HandlerResponse<any> = any>(
& I
& I2
& I3
& I4
& I
& I2
& I3
& I4
& I5
& I
& I2
& I3
& I4
& I5
& I6
):
createHandlers<I extends Input = { }, I2 extends Input = I, I3 extends Input = I & I2, I4 extends Input = I & I2 & I3, I5 extends Input = , I6 extends Input = , I7 extends Input = , I8 extends Input = , R extends HandlerResponse<any> = any>(
& I
& I2
& I3
& I4
& I
& I2
& I3
& I4
& I5
& I
& I2
& I3
& I4
& I5
& I6
& I
& I2
& I3
& I4
& I5
& I6
& I7
):
createHandlers<I extends Input = { }, I2 extends Input = I, I3 extends Input = I & I2, I4 extends Input = I & I2 & I3, I5 extends Input = , I6 extends Input = , I7 extends Input = , I8 extends Input = , I9 extends Input = , R extends HandlerResponse<any> = any>(
& I
& I2
& I3
& I4
& I
& I2
& I3
& I4
& I5
& I
& I2
& I3
& I4
& I5
& I6
& I
& I2
& I3
& I4
& I5
& I6
& I7
& I
& I2
& I3
& I4
& I5
& I6
& I7
& I8
):
createHandlers<I extends Input = { }, I2 extends Input = I, I3 extends Input = I & I2, I4 extends Input = I & I2 & I3, I5 extends Input = , I6 extends Input = , I7 extends Input = , I8 extends Input = , I9 extends Input = , I10 extends Input = , R extends HandlerResponse<any> = any>(
& I
& I2
& I3
& I4
& I
& I2
& I3
& I4
& I5
& I
& I2
& I3
& I4
& I5
& I6
& I
& I2
& I3
& I4
& I5
& I6
& I7
& I
& I2
& I3
& I4
& I5
& I6
& I7
& I8
& I
& I2
& I3
& I4
& I5
& I6
& I7
& I8
& I9
):