mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 15:19:01 +02:00
fix(client): type error
This commit is contained in:
parent
0c35daab85
commit
c16c4788da
@ -152,7 +152,7 @@ const TPL = /*html*/`
|
|||||||
const MAX_SEARCH_RESULTS_IN_TREE = 100;
|
const MAX_SEARCH_RESULTS_IN_TREE = 100;
|
||||||
|
|
||||||
// this has to be hanged on the actual elements to effectively intercept and stop click event
|
// this has to be hanged on the actual elements to effectively intercept and stop click event
|
||||||
const cancelClickPropagation: JQuery.TypeEventHandler<unknown, unknown, unknown, unknown, any> = (e) => e.stopPropagation();
|
const cancelClickPropagation: (e: JQuery.ClickEvent) => void = (e) => e.stopPropagation();
|
||||||
|
|
||||||
// TODO: Fix once we remove Node.js API from public
|
// TODO: Fix once we remove Node.js API from public
|
||||||
type Timeout = NodeJS.Timeout | string | number | undefined;
|
type Timeout = NodeJS.Timeout | string | number | undefined;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user