diff --git a/packages/openapi-client-axios/src/client.ts b/packages/openapi-client-axios/src/client.ts index 2697152..c7a4d56 100644 --- a/packages/openapi-client-axios/src/client.ts +++ b/packages/openapi-client-axios/src/client.ts @@ -64,7 +64,7 @@ export type OpenAPIClientAxiosOptions = { operationMethod: UnknownOperationMethod, operationToTransform: Operation, ) => UnknownOperationMethod; - axiosRunner: (axiosConfig: AxiosRequestConfig) => Promise; + axiosRunner?: (axiosConfig: AxiosRequestConfig) => Promise; axiosConfigDefaults?: AxiosRequestConfig; } & ({ axiosConfigDefaults?: AxiosRequestConfig;