Reference

Types and interfaces

The exported TypeScript types of axios: request config, response shape, headers and errors.

TypeScript declarations exported from index.d.ts in the pinned commit e6b79d9cef79.

NameKindSummary
RawAxiosHeadersinterface—
AxiosRequestTransformerinterface—
AxiosResponseTransformerinterface—
AxiosAdapterinterface—
AxiosBasicCredentialsinterface—
AxiosProxyConfiginterface—
TransitionalOptionsinterface—
GenericAbortSignalinterface—
FormDataVisitorHelpersinterface—
SerializerVisitorinterface—
SerializerOptionsinterface—
FormSerializerOptionsinterface—
ParamEncoderinterface—
CustomParamsSerializerinterface—
ParamsSerializerOptionsinterface—
AxiosProgressEventinterface—
LookupAddressEntryinterface—
AxiosRequestConfiginterface—
InternalAxiosRequestConfiginterface—
HeadersDefaultsinterface—
AxiosDefaultsinterface—
CreateAxiosDefaultsinterface—
AxiosResponseinterface—
AxiosResponseDefaultinterface—
CancelStaticinterface—
Cancelinterface—
Cancelerinterface—
CancelTokenStaticinterface—
CancelTokeninterface—
CancelTokenSourceinterface—
AxiosInterceptorOptionsinterface—
AxiosInterceptorManagerinterface—
AxiosInstanceinterface—
GenericFormDatainterface—
GenericHTMLFormElementinterface—
AxiosStaticinterface—
AxiosHeaderValuetype—
AxiosHeaderParameterstype—
RawAxiosRequestHeaderstype—
AxiosRequestHeaderstype—
RawAxiosResponseHeaderstype—
AxiosResponseHeaderstype—
Methodtype—
ResponseTypetype—
responseEncodingtype—
AddressFamilytype—
LookupAddresstype—
RawAxiosRequestConfigtype—
AxiosPromisetype—