diff --git a/packages/client-axios/src/types.ts b/packages/client-axios/src/types.ts index 98db41f58..f653e286f 100644 --- a/packages/client-axios/src/types.ts +++ b/packages/client-axios/src/types.ts @@ -5,6 +5,7 @@ import type { AxiosResponse, AxiosStatic, CreateAxiosDefaults, + AxiosRequestHeaders } from 'axios'; import type { BodySerializer } from './utils'; @@ -37,7 +38,7 @@ export interface Config * {@link https://developer.mozilla.org/docs/Web/API/Headers/Headers#init See more} */ headers?: - | CreateAxiosDefaults['headers'] + | AxiosRequestHeaders | Record< string, | string