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;
}