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; }