guardz-axios
Version:
Type-safe HTTP client built on top of Axios with runtime validation using guardz. Part of the guardz ecosystem for comprehensive TypeScript type safety.
8 lines • 452 B
TypeScript
import { AxiosRequestConfig } from "axios";
import type { SafeRequestConfig } from "../types/SafeRequestConfig";
import type { SafeRequestResult } from "../types/SafeRequestResult";
/**
* Core execution function with retry logic and comprehensive error handling
*/
export declare function executeRequest<T>(axiosConfig: AxiosRequestConfig, safeConfig: SafeRequestConfig<T>): Promise<SafeRequestResult<T>>;
//# sourceMappingURL=executeRequest.d.ts.map