From aca6793745ef231decc2bf5f5dda4c11a2d5e0dd Mon Sep 17 00:00:00 2001 From: Simas Toleikis Date: Tue, 2 Jan 2018 22:40:32 +0200 Subject: [PATCH] Added pagination param to textSearch callback. (#22506) --- types/googlemaps/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/googlemaps/index.d.ts b/types/googlemaps/index.d.ts index 60396493f1..83190d3e28 100644 --- a/types/googlemaps/index.d.ts +++ b/types/googlemaps/index.d.ts @@ -2476,7 +2476,7 @@ declare namespace google.maps { terms: PredictionTerm[]; types: string[]; } - + export interface AutocompleteStructuredFormatting { main_text: string; main_text_matched_substrings: PredictionSubstring[]; @@ -2615,7 +2615,7 @@ declare namespace google.maps { getDetails(request: PlaceDetailsRequest, callback: (result: PlaceResult, status: PlacesServiceStatus) => void): void; nearbySearch(request: PlaceSearchRequest, callback: (results: PlaceResult[], status: PlacesServiceStatus, pagination: PlaceSearchPagination) => void): void; radarSearch(request: RadarSearchRequest, callback: (results: PlaceResult[], status: PlacesServiceStatus) => void): void; - textSearch(request: TextSearchRequest, callback: (results: PlaceResult[], status: PlacesServiceStatus) => void): void; + textSearch(request: TextSearchRequest, callback: (results: PlaceResult[], status: PlacesServiceStatus, pagination: PlaceSearchPagination) => void): void; } export enum PlacesServiceStatus {