UNPKG

alapa

Version:

A cutting-edge web development framework designed to revolutionize the way developers build modern web applications.

8 lines (7 loc) 429 B
import { RequestHandler as ExpressRequestHandler } from "express"; import { ParsedQs } from "qs"; export type RequestHandler = ExpressRequestHandler<{}, // Params type (empty object means no params) any, // Response body type (any means it can be any type) any, // Request body type (any means it can be any type) ParsedQs, // Query string type (ParsedQs is used for query strings) Record<string, any>> | string | [any, string];