UNPKG

picgo

Version:

A tool for image uploading

11 lines (10 loc) 343 B
import { Hono } from 'hono'; import { IPicGo } from '../../types'; /** * Route overriding helper. * * Logic: * 1. Business routes (GET/POST/...): last registration wins (override). * 2. Middlewares (ALL): preserve all in order (append). */ export declare const rebuildApp: <T extends Hono<any, any, any>>(draftApp: T, ctx: IPicGo) => T;