mirror of
https://github.com/sstent/aicyclingcoach-go.git
synced 2026-01-26 17:12:23 +00:00
5 lines
311 B
TypeScript
5 lines
311 B
TypeScript
import type { LeafletEventHandlerFnMap, Map } from 'leaflet';
|
|
export declare function useMap(): Map;
|
|
export declare function useMapEvent<T extends keyof LeafletEventHandlerFnMap>(type: T, handler: LeafletEventHandlerFnMap[T]): Map;
|
|
export declare function useMapEvents(handlers: LeafletEventHandlerFnMap): Map;
|