mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-05 14:59:37 +08:00
Merge pull request #21380 from svenkreiss/googlemaps-null-overlaytype
googlemaps: make a type definition consistent with docstring for strictNullChecks
This commit is contained in:
6
types/googlemaps/index.d.ts
vendored
6
types/googlemaps/index.d.ts
vendored
@@ -1,6 +1,6 @@
|
||||
// Type definitions for Google Maps JavaScript API 3.29
|
||||
// Type definitions for Google Maps JavaScript API 3.30
|
||||
// Project: https://developers.google.com/maps/
|
||||
// Definitions by: Folia A/S <http://www.folia.dk>, Chris Wrench <https://github.com/cgwrench>, Kiarash Ghiaseddin <https://github.com/Silver-Connection/DefinitelyTyped>, Grant Hutchins <https://github.com/nertzy>, Denis Atyasov <https://github.com/xaolas>, Michael McMullin <https://github.com/mrmcnerd>, Martin Costello <https://github.com/martincostello>
|
||||
// Definitions by: Folia A/S <http://www.folia.dk>, Chris Wrench <https://github.com/cgwrench>, Kiarash Ghiaseddin <https://github.com/Silver-Connection/DefinitelyTyped>, Grant Hutchins <https://github.com/nertzy>, Denis Atyasov <https://github.com/xaolas>, Michael McMullin <https://github.com/mrmcnerd>, Martin Costello <https://github.com/martincostello>, Sven Kreiss <https://github.com/svenkreiss>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/*
|
||||
@@ -2697,7 +2697,7 @@ declare namespace google.maps {
|
||||
* Accepted values are 'marker', 'polygon', 'polyline', 'rectangle', 'circle', or null. A drawing mode
|
||||
* of null means that the user can interact with the map as normal, and clicks do not draw anything.
|
||||
*/
|
||||
drawingMode?: OverlayType;
|
||||
drawingMode?: OverlayType | null;
|
||||
/**
|
||||
* The Map to which the DrawingManager is attached, which is the Map on which the overlays created
|
||||
* will be placed.
|
||||
|
||||
Reference in New Issue
Block a user