You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But as GeocodeRequest extends AxiosRequestConfig which has params, TypeScript recognizes params in IKeyOmittedGoecodeRequest from AxiosRequestConfig which is any.
And it doesn't recognize request.params.destinations.
The text was updated successfully, but these errors were encountered:
If you would like to upvote the priority of this issue, please comment below or react on the original post above with 👍 so we can see what is popular when we triage.
@StanislavHT Thank you for opening this issue. 🙏
Please check out these other resources that might help you get to a resolution in the meantime:
Now request interfaces like
DistanceMatrixRequest
,GeocodeRequest
extendsAxiosRequestConfig
which has params (type: any).In my case I just want to omit key from request params because we set key globally, so I defined following interface.
But as
GeocodeRequest
extendsAxiosRequestConfig
which has params,TypeScript
recognizes params inIKeyOmittedGoecodeRequest
fromAxiosRequestConfig
which is any.And it doesn't recognize
request.params.destinations
.The text was updated successfully, but these errors were encountered: