src/features/types.ts
Rama main · réplica de lectura del repositorio original.
/**
* Shared types for route handlers
*/
/** Signature for path and method dispatch functions. Returns null to delegate. */
export type PathMethodRoute = (
request: Request,
path: string,
method: string,
) => Promise<Response | null>;