mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 14:20:12 +00:00
fix: add null to DrawingManager.setDrawingMode
Notice the docs here https://developers.google.com/maps/documentation/javascript/3.exp/reference#DrawingManager in the description it says `null` is a valid argument
This commit is contained in:
2
types/googlemaps/index.d.ts
vendored
2
types/googlemaps/index.d.ts
vendored
@@ -2684,7 +2684,7 @@ declare namespace google.maps {
|
||||
constructor(options?: DrawingManagerOptions);
|
||||
getDrawingMode(): OverlayType;
|
||||
getMap(): Map;
|
||||
setDrawingMode(drawingMode: OverlayType): void;
|
||||
setDrawingMode(drawingMode: OverlayType | null): void;
|
||||
setMap(map: Map | null): void;
|
||||
setOptions(options: DrawingManagerOptions): void;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user