Skip to content

Commit

Permalink
fix: mark fields as optional (#760)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpoehnelt authored Feb 8, 2022
1 parent 2c39f7e commit a97eeb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1475,7 +1475,7 @@ export interface AddressGeometry {
/** contains the geocoded latitude, longitude value. For normal address lookups, this field is typically the most important. */
location: LatLngLiteral;
/** stores additional data about the specified location. */
location_type: LocationType;
location_type?: LocationType;
/**
* contains the recommended viewport for displaying the returned result, specified as two latitude, longitude values
* defining the `southwest` and `northeast` corner of the viewport bounding box.
Expand All @@ -1488,7 +1488,7 @@ export interface AddressGeometry {
* (For example, San Francisco includes the [Farallon islands](https://en.wikipedia.org/wiki/Farallon_Islands),
* which are technically part of the city, but probably should not be returned in the viewport.)
*/
bounds: LatLngBounds;
bounds?: LatLngBounds;
}

export enum LocationType {
Expand Down

0 comments on commit a97eeb5

Please sign in to comment.