UNPKG

452 BTypeScriptView Raw
1/**
2 * Represents a Node.js HTTP Request, including the minimal set of use properties.
3 * Compatible with Restify, Express, and Node.js core http.
4 */
5export interface Request<Body extends Record<string, unknown> = Record<string, unknown>, Headers extends Record<string, string[] | string | undefined> = Record<string, string[] | string | undefined>> {
6 body?: Body;
7 headers: Headers;
8 method?: string;
9}
10//# sourceMappingURL=request.d.ts.map
\No newline at end of file