DefinitelyTyped/types/googlemaps
John M. Wright d65fe3323d allowing ComponentRestrictions as string|string[]
Google API allows the Autocomplete ComponentRestrictions to be either a single string (`{'country': 'us'}`) or a string array (`{'country': ['us','gb','fr']}`)

Reference: 
Single value: https://developers.google.com/maps/documentation/javascript/examples/places-autocomplete-hotelsearch
Multiple values: https://developers.google.com/maps/documentation/javascript/examples/places-autocomplete-multiple-countries
(
2017-08-15 16:46:52 -05:00
..
googlemaps-tests.ts [@types/googlemaps] Improve some Data and Geometry definitions 2017-08-15 11:28:29 +03:00
index.d.ts allowing ComponentRestrictions as string|string[] 2017-08-15 16:46:52 -05:00
tsconfig.json