Skip to content

Commit

Permalink
feat! adapt to axios 1.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
orgads committed Jan 19, 2023
1 parent 1e5d0ce commit 427f80d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
},
"devDependencies": {
"@types/mocha": "^10.0.0",
"@types/sinon": "^10.0.11",
"@types/node": "^18.0.0",
"axios": "^1.2.1",
"@types/sinon": "^10.0.11",
"axios": "^1.2.3",
"c8": "^7.11.2",
"gts": "^3.1.0",
"js-green-licenses": "^4.0.0",
Expand Down
4 changes: 4 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import axios, {
AxiosInstance,
AxiosRequestConfig,
AxiosResponse,
RawAxiosRequestConfig,
} from 'axios';

/**
Expand Down Expand Up @@ -353,4 +354,7 @@ declare module 'axios' {
export interface AxiosRequestConfig {
raxConfig?: RetryConfig;
}
export interface RawAxiosRequestConfig {
raxConfig?: RetryConfig;
}
}

0 comments on commit 427f80d

Please sign in to comment.