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:
Ilya Radchenko
2018-02-07 14:49:30 -05:00
committed by GitHub
parent a593fd2d60
commit 5bc3f3c96b

View File

@@ -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;
}