From 9948fee417b57e9dcbbadb3ac3302131bc17e2da Mon Sep 17 00:00:00 2001 From: Grant Hutchins Date: Tue, 12 Dec 2017 15:30:51 -0600 Subject: [PATCH] Revert "[@types/googlemaps] Fixing GeocoderRequest wrong property names" --- 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 1d46ee467f..5e977257b8 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; - components?: GeocoderComponents; + componentRestrictions?: GeocoderComponentRestrictions; location?: LatLng|LatLngLiteral; placeId?: string; region?: string; } - export interface GeocoderComponents { - administrative_area?: string; + export interface GeocoderComponentRestrictions { + administrativeArea?: string; country?: string | string[]; locality?: string; - postal_code?: string; + postalCode?: string; route?: string; }