From ffc92af2446a783a6d7e3ad9973aebecbc3aaf63 Mon Sep 17 00:00:00 2001 From: Justin Poehnelt Date: Tue, 7 Apr 2020 09:00:47 -0700 Subject: [PATCH] fix: set radius param as optional on PlacesNearbyRequest (#381) --- src/places/placesnearby.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/places/placesnearby.ts b/src/places/placesnearby.ts index e2480fe1c3..3f7e871c71 100644 --- a/src/places/placesnearby.ts +++ b/src/places/placesnearby.ts @@ -24,7 +24,7 @@ export interface PlacesNearbyRequest extends Partial { * 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.