FLUJOS/VISUALIZACION/node_modules/express-graphql/ts3.4/parseBody.d.ts
2025-11-07 00:06:12 +01:00

13 lines
397 B
TypeScript
Executable file

/// <reference types="node" />
import { IncomingMessage } from 'http';
declare type Request = IncomingMessage & {
body?: unknown;
};
/**
* Provided a "Request" provided by express or connect (typically a node style
* HTTPClientRequest), Promise the body data contained.
*/
export declare function parseBody(req: Request): Promise<{
[param: string]: unknown;
}>;
export {};