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:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user