Fix linting

This commit is contained in:
Denis
2017-03-30 20:38:17 -04:00
parent 93410826e1
commit efc8be0ec6

View File

@@ -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;
}
}