From c16c4788dae8bd006f217e4774c08da69629e412 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Mon, 25 Aug 2025 20:08:27 +0300 Subject: [PATCH] fix(client): type error --- apps/client/src/widgets/note_tree.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/client/src/widgets/note_tree.ts b/apps/client/src/widgets/note_tree.ts index 301a61b6b..85e098338 100644 --- a/apps/client/src/widgets/note_tree.ts +++ b/apps/client/src/widgets/note_tree.ts @@ -152,7 +152,7 @@ const TPL = /*html*/` const MAX_SEARCH_RESULTS_IN_TREE = 100; // this has to be hanged on the actual elements to effectively intercept and stop click event -const cancelClickPropagation: JQuery.TypeEventHandler = (e) => e.stopPropagation(); +const cancelClickPropagation: (e: JQuery.ClickEvent) => void = (e) => e.stopPropagation(); // TODO: Fix once we remove Node.js API from public type Timeout = NodeJS.Timeout | string | number | undefined;