added doga
This commit is contained in:
10
25_02_24/node_modules/@tinyhttp/send/dist/status.d.ts
generated
vendored
Normal file
10
25_02_24/node_modules/@tinyhttp/send/dist/status.d.ts
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
import type { ServerResponse } from 'node:http';
|
||||
type Res = Pick<ServerResponse, 'statusCode'>;
|
||||
/**
|
||||
* Sets the HTTP status for the response. It is a chainable alias of Node’s `response.statusCode`.
|
||||
*
|
||||
* @param res Response
|
||||
*/
|
||||
export declare const status: <Response extends Res = Res>(res: Response) => (status: number) => Response;
|
||||
export {};
|
||||
//# sourceMappingURL=status.d.ts.map
|
||||
Reference in New Issue
Block a user