Skip to content
Myr

fix(factory): export `CreateHandlersInterface` (#2752)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

* fix(factory): export `CreateHandlersInterface` * denoify

authored by Yusuke Wada · committed by GitHub · parent 7f309ec · Browse files · 2 files+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+2 added−2 removed

  • other:+2 added−2 removed

2 files+2 added−2 removed

modified:deno_dist/helper/factory/index.ts+1 added-1 removed
2 unmodified lines
3import type { Env, H, HandlerResponse, Input, MiddlewareHandler } from '../../types.ts'45type InitApp<E extends Env = Env> = (app: Hono<E>) => void67interface CreateHandlersInterface<E extends Env, P extends string> {7export interface CreateHandlersInterface<E extends Env, P extends string> {8 <I extends Input = {}, R extends HandlerResponse<any> = any>(handler1: H<E, P, I, R>): [9 H<E, P, I, R>10 ]11 // handler x2
230 unmodified lines
modified:src/helper/factory/index.ts+1 added-1 removed
2 unmodified lines
3import type { Env, H, HandlerResponse, Input, MiddlewareHandler } from '../../types'45type InitApp<E extends Env = Env> = (app: Hono<E>) => void67interface CreateHandlersInterface<E extends Env, P extends string> {7export interface CreateHandlersInterface<E extends Env, P extends string> {8 <I extends Input = {}, R extends HandlerResponse<any> = any>(handler1: H<E, P, I, R>): [9 H<E, P, I, R>10 ]11 // handler x2
230 unmodified lines