From 7bf79bf1e6a11f52240b1ce1e9ecc4890c87e555 Mon Sep 17 00:00:00 2001 From: Geir Sagberg Date: Wed, 1 Oct 2014 21:51:09 +0200 Subject: [PATCH] Changed doubleClickZoom and scrollWheelZoom Set type to 'boolean' to match docs. --- leaflet/leaflet.d.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/leaflet/leaflet.d.ts b/leaflet/leaflet.d.ts index 7c8f0a160..511f49b0e 100644 --- a/leaflet/leaflet.d.ts +++ b/leaflet/leaflet.d.ts @@ -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 @@ -2430,9 +2428,7 @@ declare module L { * * Default value: true. */ - doubleClickZoom?: any; - //doubleClickZoom?: boolean; - //doubleClickZoom?: string; + doubleClickZoom?: boolean; /** * Whether the map can be zoomed to a rectangular area specified by dragging