mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-18 04:24:30 +08:00
Added pagination param to textSearch callback. (#22506)
This commit is contained in:
committed by
Mohamed Hegazy
parent
a25f841704
commit
aca6793745
4
types/googlemaps/index.d.ts
vendored
4
types/googlemaps/index.d.ts
vendored
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user