added doga
This commit is contained in:
9
25_02_24/node_modules/@tinyhttp/send/dist/json.d.ts
generated
vendored
Normal file
9
25_02_24/node_modules/@tinyhttp/send/dist/json.d.ts
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
import type { ServerResponse as S } from 'node:http';
|
||||
type Res = Pick<S, 'setHeader' | 'end' | 'removeHeader'>;
|
||||
/**
|
||||
* Respond with stringified JSON object
|
||||
* @param res Response
|
||||
*/
|
||||
export declare const json: <Response extends Res = Res>(res: Response) => (body: any, ...args: any[]) => Response;
|
||||
export {};
|
||||
//# sourceMappingURL=json.d.ts.map
|
||||
Reference in New Issue
Block a user