mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
fix: PlaceSearchResult vicinity is a string
This commit is contained in:
parent
c06a6662f8
commit
2e2f5fb5ac
2
types/google__maps/index.d.ts
vendored
2
types/google__maps/index.d.ts
vendored
@ -1687,7 +1687,7 @@ export interface PlaceSearchResult {
|
||||
* contains a feature name of a nearby location. Often this feature refers to a street or neighborhood within the given results.
|
||||
* The `vicinity` property is only returned for a Nearby Search.
|
||||
*/
|
||||
vicinity: number;
|
||||
vicinity?: string;
|
||||
/**
|
||||
* is a string containing the human-readable address of this place. Often this address is equivalent to the "postal address".
|
||||
* The `formatted_address` property is only returned for a Text Search.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user