facilmap/frontend/src/type-fixup.d.ts

40 wiersze
538 B
TypeScript

import "leaflet";
declare module "leaflet" {
interface Layer {
options: LayerOptions;
}
interface Map {
_controlCorners: any;
_controlContainer: any;
_loaded?: true;
}
interface Control {
_container: HTMLElement;
}
interface LeafletEvent {
originalEvent: Event;
}
interface Handler {
_map: Map;
_enabled?: boolean;
}
/*
interface lagLngBounds {
(): LatLngBounds;
}
*/
namespace control {
export const graphicScale: any;
}
namespace Control {
const Heightgraph: any;
}
}