2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-08 17:22:34 +03:00

revert: change type of AxiosResponse to any (#4186)

* revert: change type of AxiosResponse to any

* types: add back default types

My bad xD

* Remove redundant default params
This commit is contained in:
Rodry
2021-10-22 09:14:23 +01:00
committed by GitHub
parent 1025d1231a
commit 2c9cc76ee9
2 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -296,7 +296,7 @@ axios.interceptors.response.use((response: AxiosResponse) => Promise.resolve(res
// Adapters
const adapter: AxiosAdapter = (config: AxiosRequestConfig) => {
const response: AxiosResponse<any> = {
const response: AxiosResponse = {
data: { foo: 'bar' },
status: 200,
statusText: 'OK',