mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-30 23:30:06 +00:00
Revert "[@types/googlemaps] Fixing GeocoderRequest wrong property names"
This commit is contained in:
8
types/googlemaps/index.d.ts
vendored
8
types/googlemaps/index.d.ts
vendored
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user