From efc8be0ec6c964fd8e17500dde3888b2c3f80bbe Mon Sep 17 00:00:00 2001 From: Denis Date: Thu, 30 Mar 2017 20:38:17 -0400 Subject: [PATCH] Fix linting --- types/leaflet.locatecontrol/index.d.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/types/leaflet.locatecontrol/index.d.ts b/types/leaflet.locatecontrol/index.d.ts index 056e7b0d32..7692c2bb60 100644 --- a/types/leaflet.locatecontrol/index.d.ts +++ b/types/leaflet.locatecontrol/index.d.ts @@ -7,7 +7,6 @@ declare namespace L { namespace Control { - interface Locate extends L.Control {} interface LocateOptions { position?: string; layer?: L.Layer; @@ -35,11 +34,10 @@ declare namespace L { locateOptions?: L.LocateOptions; } } - namespace control { /** - * Creates a Leaflet.Locate control - */ - export function locate(options?: Control.LocateOptions): L.Control.Locate; + * Creates a Leaflet.Locate control + */ + function locate(options?: Control.LocateOptions): L.Control; } }