From 140642cc314da56db8e6678a3832b656ab121b7e Mon Sep 17 00:00:00 2001 From: Xiu Hong Kooi Date: Wed, 2 Oct 2024 20:16:35 +0800 Subject: [PATCH] feat: add None type for nearbyPlacesAPI --- GooglePlacesAutocomplete.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GooglePlacesAutocomplete.d.ts b/GooglePlacesAutocomplete.d.ts index 6f5a0bcc..92a45a9c 100644 --- a/GooglePlacesAutocomplete.d.ts +++ b/GooglePlacesAutocomplete.d.ts @@ -404,7 +404,7 @@ interface GooglePlacesAutocompleteProps { minLength?: number; keepResultsAfterBlur?: boolean; /** Which API to use: GoogleReverseGeocoding or GooglePlacesSearch */ - nearbyPlacesAPI?: 'GoogleReverseGeocoding' | 'GooglePlacesSearch'; + nearbyPlacesAPI?: 'GoogleReverseGeocoding' | 'GooglePlacesSearch' | 'None'; numberOfLines?: number; onFail?: (error?: any) => void; onNotFound?: () => void;