Skip to content

Commit

Permalink
fix(types): add axios-retry type def for more options (#378)
Browse files Browse the repository at this point in the history
  • Loading branch information
hareku committed Jun 14, 2020
1 parent f42a239 commit 40a0c58
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { AxiosError, AxiosRequestConfig, AxiosResponse, AxiosStatic } from 'axios'
import { IAxiosRetryConfig } from 'axios-retry'
import Vue from 'vue'
import './vuex'

Expand Down Expand Up @@ -32,7 +33,7 @@ interface AxiosOptions {
proxyHeaders?: boolean,
proxyHeadersIgnore?: string[],
proxy?: boolean,
retry?: boolean,
retry?: boolean | IAxiosRetryConfig,
https?: boolean,
headers?: {
common?: Record<string, string>,
Expand Down

0 comments on commit 40a0c58

Please sign in to comment.