UNPKG

@n1k1t/mock-server

Version:

The ultimate toolkit to intercept, transform, and simulate HTTP/WS traffic with type-safe expectations

6 lines 377 B
import { AxiosError } from 'axios'; import type { IEndpointResponse } from '../server'; import { Expectation } from '../expectations'; export declare const handleRequestError: (error: AxiosError<IEndpointResponse<any>>) => never; export declare const prepareExpectationBodyToRequest: <T extends Partial<Expectation["TPlain"]>>(body: T) => T; //# sourceMappingURL=utils.d.ts.map