From e9eedf9c6ea3fc3346c7be37f10e23baf8e97d6c Mon Sep 17 00:00:00 2001 From: strajuser Date: Tue, 4 Jul 2017 13:35:44 +0300 Subject: [PATCH] - Incorrect bindPopup inheritance fix --- types/esri-leaflet/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/esri-leaflet/index.d.ts b/types/esri-leaflet/index.d.ts index da670c605b..36fadf940d 100644 --- a/types/esri-leaflet/index.d.ts +++ b/types/esri-leaflet/index.d.ts @@ -333,12 +333,12 @@ declare namespace L { /** * Uses the provided function to create a popup that will identify features whenever the map is clicked. Your function will be passed a GeoJSON FeatureCollection of the features at the clicked location and should return the appropriate HTML. If you do not want to open the popup when there are no results, return false. * - * @param {FeatureRequestCallbackFn} fn + * @param {any} fn * @param {L.PopupOptions} popupOptions * @returns {this} * @memberof DynamicMapLayer */ - bindPopup(fn: FeatureRequestCallbackFn, popupOptions?: L.PopupOptions): this; + bindPopup(fn: any, popupOptions?: L.PopupOptions): this; /** * Removes a popup previously bound with bindPopup. *