Revert "[@types/googlemaps] Fixing GeocoderRequest wrong property names"

This commit is contained in:
Grant Hutchins
2017-12-12 15:30:51 -06:00
committed by GitHub
parent 5ac829cae2
commit 9948fee417

View File

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