axios-api-versioning icon indicating copy to clipboard operation
axios-api-versioning copied to clipboard

Generic is not passed in type `AxiosRequestConfigWithVersioning`

Open abramovictor opened this issue 2 years ago • 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;
  }

abramovictor avatar Feb 20 '23 23:02 abramovictor

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

Weffe avatar Apr 06 '23 22:04 Weffe