mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
Make AutocompleteOptions optional
The maps API treats the members of AutocompleteOptions as optional - update typings to reflect this.
This commit is contained in:
6
googlemaps/google.maps.d.ts
vendored
6
googlemaps/google.maps.d.ts
vendored
@@ -1356,9 +1356,9 @@ declare module google.maps {
|
||||
}
|
||||
|
||||
export interface AutocompleteOptions {
|
||||
bounds: LatLngBounds;
|
||||
componentRestrictions: ComponentRestrictions;
|
||||
types: string[];
|
||||
bounds?: LatLngBounds;
|
||||
componentRestrictions?: ComponentRestrictions;
|
||||
types?: string[];
|
||||
}
|
||||
|
||||
export interface ComponentRestrictions {
|
||||
|
||||
Reference in New Issue
Block a user