Skip to content

Commit

Permalink
Merge pull request DefinitelyTyped#2903 from geirsagberg/patch-3
Browse files Browse the repository at this point in the history
Change doubleClickZoom to boolean type.
  • Loading branch information
Igorbek committed Oct 2, 2014
2 parents 3d7409b + 7bf79bf commit 4598e7d
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions leaflet/leaflet.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2418,9 +2418,7 @@ declare module L {
*
* Default value: true.
*/
scrollWheelZoom?: any;
//scrollWheelZoom?: boolean;
//scrollWheelZoom?: string;
scrollWheelZoom?: boolean;

/**
* Whether the map can be zoomed in by double clicking on it and zoomed out
Expand All @@ -2430,9 +2428,7 @@ declare module L {
*
* Default value: true.
*/
doubleClickZoom?: string;
//doubleClickZoom?: boolean;
//doubleClickZoom?: string;
doubleClickZoom?: boolean;

/**
* Whether the map can be zoomed to a rectangular area specified by dragging
Expand Down

0 comments on commit 4598e7d

Please sign in to comment.