Frontend/25_02_24/node_modules/@tinyhttp/send/dist/status.d.ts
2025-02-25 09:55:29 +01:00

10 lines
384 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import type { ServerResponse } from 'node:http';
type Res = Pick<ServerResponse, 'statusCode'>;
/**
* Sets the HTTP status for the response. It is a chainable alias of Nodes `response.statusCode`.
*
* @param res Response
*/
export declare const status: <Response extends Res = Res>(res: Response) => (status: number) => Response;
export {};
//# sourceMappingURL=status.d.ts.map