From 9d8c0fb8b4b04b26f4a366c1cc77f297e2ec7c7d Mon Sep 17 00:00:00 2001 From: blink7 Date: Thu, 14 Dec 2017 17:39:33 +0300 Subject: [PATCH] Update index.d.ts Add handling for AutocompletePrediction's reference and structured formatting. --- types/googlemaps/index.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/types/googlemaps/index.d.ts b/types/googlemaps/index.d.ts index 5e977257b8..60396493f1 100644 --- a/types/googlemaps/index.d.ts +++ b/types/googlemaps/index.d.ts @@ -2471,9 +2471,17 @@ declare namespace google.maps { description: string; matched_substrings: PredictionSubstring[]; place_id: string; + reference: string; + structured_formatting: AutocompleteStructuredFormatting; terms: PredictionTerm[]; types: string[]; } + + export interface AutocompleteStructuredFormatting { + main_text: string; + main_text_matched_substrings: PredictionSubstring[]; + secondary_text: string; + } export interface OpeningHours { open_now: boolean;