rename Options to searchOptions in props

This should have been added before, but has been left out
This commit is contained in:
Nokky Goren
2018-12-12 14:51:41 +02:00
committed by GitHub
parent cca60bd544
commit 60eb70b81e
+2 -1
View File
@@ -2,6 +2,7 @@
// Project: https://github.com/kenny-hibino/react-places-autocomplete/
// Definitions by: Guilherme Hübner <https://github.com/guilhermehubner>
// Andrew Makarov <https://github.com/r3nya>
// Nokky Goren
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
//
@@ -38,7 +39,7 @@ export interface PropTypes {
autocompleteItem?: React.CSSProperties;
autocompleteItemActive?: React.CSSProperties;
};
options?: {
searchOptions?: {
bounds?: google.maps.LatLngBounds | google.maps.LatLngBoundsLiteral;
componentRestrictions?: google.maps.GeocoderComponentRestrictions;
location?: google.maps.LatLng | google.maps.LatLngLiteral;