UNPKG

msw

Version:

Seamless REST/GraphQL API mocking library for browser and Node.js.

10 lines (8 loc) 270 B
interface SerializedResponse { status: number; statusText: string; headers: Record<string, any>; body: string; } declare function serializeResponse(response: Response): Promise<SerializedResponse>; export { type SerializedResponse, serializeResponse };