Skip to content

Commit

Permalink
Update index.d.cts
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerhut committed Dec 2, 2022
1 parent 1a1028a commit 5c49e6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.cts
Expand Up @@ -453,6 +453,7 @@ declare namespace axios {
<T = any, R = AxiosResponse<T>, D = any>(config: AxiosRequestConfig<D>): Promise<R>;
<T = any, R = AxiosResponse<T>, D = any>(url: string, config?: AxiosRequestConfig<D>): Promise<R>;

create(config?: CreateAxiosDefaults): AxiosInstance;
defaults: Omit<AxiosDefaults, 'headers'> & {
headers: HeadersDefaults & {
[key: string]: AxiosHeaderValue
Expand All @@ -471,7 +472,6 @@ declare namespace axios {
}

interface AxiosStatic extends AxiosInstance {
create(config?: CreateAxiosDefaults): AxiosInstance;
Cancel: CancelStatic;
CancelToken: CancelTokenStatic;
Axios: typeof Axios;
Expand Down

0 comments on commit 5c49e6f

Please sign in to comment.