mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-19 08:31:17 +08:00
Fix linting
This commit is contained in:
8
types/leaflet.locatecontrol/index.d.ts
vendored
8
types/leaflet.locatecontrol/index.d.ts
vendored
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user