Skip to content

Commit

Permalink
fix: set radius param as optional on PlacesNearbyRequest (#381)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpoehnelt authored Apr 7, 2020
1 parent 4d10f6c commit ffc92af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/places/placesnearby.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export interface PlacesNearbyRequest extends Partial<AxiosRequestConfig> {
* The maximum allowed radius is 50 000 meters.
* Note that `radius` must not be included if `rankby=distance` is specified.
*/
radius: number;
radius?: number;
/**
* A term to be matched against all content that Google has indexed for this place, including but not limited to
* name, type, and address, as well as customer reviews and other third-party content.
Expand Down

0 comments on commit ffc92af

Please sign in to comment.