Skip to content

Commit c16c478

Browse files
committed
fix(client): type error
1 parent 0c35daa commit c16c478

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/client/src/widgets/note_tree.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ const TPL = /*html*/`
152152
const MAX_SEARCH_RESULTS_IN_TREE = 100;
153153

154154
// this has to be hanged on the actual elements to effectively intercept and stop click event
155-
const cancelClickPropagation: JQuery.TypeEventHandler<unknown, unknown, unknown, unknown, any> = (e) => e.stopPropagation();
155+
const cancelClickPropagation: (e: JQuery.ClickEvent) => void = (e) => e.stopPropagation();
156156

157157
// TODO: Fix once we remove Node.js API from public
158158
type Timeout = NodeJS.Timeout | string | number | undefined;

0 commit comments

Comments
 (0)