mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-28 18:42:28 +08:00
refactor(client): fix types
This commit is contained in:
parent
1ee10ca209
commit
4509ef62b5
20
apps/client/src/types-lib.d.ts
vendored
20
apps/client/src/types-lib.d.ts
vendored
@ -31,3 +31,23 @@ declare module "katex/contrib/auto-render" {
|
|||||||
}) => void;
|
}) => void;
|
||||||
export default renderMathInElement;
|
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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user