axios-api-versioning
axios-api-versioning copied to clipboard
Generic is not passed in type `AxiosRequestConfigWithVersioning`
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;
}
This should get solved once I upgrade this library to use the new Generics for axios >=v1.0.0