refactor(client): fix types

pull/2088/head
Elian Doran 2025-06-01 15:23:35 +07:00
parent 1ee10ca209
commit 4509ef62b5
No known key found for this signature in database
1 changed files with 20 additions and 0 deletions

@ -31,3 +31,23 @@ declare module "katex/contrib/auto-render" {
}) => void;
export default renderMathInElement;
}
import * as L from "leaflet";
declare module "leaflet" {
interface GPXMarker {
startIcon?: DivIcon | Icon | string | undefined;
endIcon?: DivIcon | Icon | string | undefined;
wptIcons?: {
[key: string]: Icon | string;
};
wptTypeIcons?: {
[key: string]: Icon | string;
};
pointMatchers?: Array<{ regex: RegExp; icon: Icon | string}>;
}
interface GPXOptions {
markers?: GPXMarker | undefined;
}
}