-
Notifications
You must be signed in to change notification settings - Fork 7
Incorrect type in google.maps.GeocoderRequest #77
Copy link
Copy link
Open
Labels
triage meI really want to be triaged.I really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
I'm not sure if this is the right place to fill this issue since I could not open issues on https://github.com/googlemaps/DefinitelyTyped
I've been writing wrappers on two common APIs, the autocomplete and the Geocoder.
I noticed the following type on autocomplete (google.maps.places.AutocompletionRequest) which looks like it maps to the API's request parameters.
I would presume that the Geocoder version (google.maps.GeocoderRequest) would have the same role but it contains a placeId which is not compatible with the place_id parameters from the Geocode API.
I might be misinterpreting the types and maybe they should not be used like this.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
triage meI really want to be triaged.I really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.