From ab175f0655f60061f874c14f96eab81084839a51 Mon Sep 17 00:00:00 2001 From: Gerardo Rosciano Date: Tue, 5 Dec 2017 15:16:43 -0300 Subject: [PATCH] Fixed GeocoderRequest.components geocoderRequest componentRestrictions had a wrong name. fixed --- types/googlemaps/index.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/types/googlemaps/index.d.ts b/types/googlemaps/index.d.ts index 5e977257b8..1d46ee467f 100644 --- a/types/googlemaps/index.d.ts +++ b/types/googlemaps/index.d.ts @@ -1158,17 +1158,17 @@ declare namespace google.maps { export interface GeocoderRequest { address?: string; bounds?: LatLngBounds|LatLngBoundsLiteral; - componentRestrictions?: GeocoderComponentRestrictions; + components?: GeocoderComponents; location?: LatLng|LatLngLiteral; placeId?: string; region?: string; } - export interface GeocoderComponentRestrictions { - administrativeArea?: string; + export interface GeocoderComponents { + administrative_area?: string; country?: string | string[]; locality?: string; - postalCode?: string; + postal_code?: string; route?: string; }