Weffe/axios-api-versioning

Generic is not passed in type `AxiosRequestConfigWithVersioning`

abramovictor opened this issue · 1 comments

Found a problem that the type AxiosRequestConfigWithVersioning does not pass a generic to AxiosResponse because of this, the return type is any

  export interface AxiosRequestConfigWithVersioning<T = any> extends AxiosResponse<T> {
                                                                                 __^
    config: AxiosRequestConfigWithVersioning;
  }
Weffe commented

This should get solved once I upgrade this library to use the new Generics for axios >=v1.0.0