From bfa50f8687e01be9e4870057075b265d385c1c0e Mon Sep 17 00:00:00 2001 From: sorax Date: Sat, 16 Mar 2024 11:12:16 +0100 Subject: [PATCH] fix type --- assets/js/hooks/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/hooks/index.ts b/assets/js/hooks/index.ts index d5ec1ccc..e26170c2 100644 --- a/assets/js/hooks/index.ts +++ b/assets/js/hooks/index.ts @@ -79,7 +79,7 @@ export const Hooks = { prev_id: node.uuid } - this.pushEvent("create_node", newNode, (node: Node, _ref: Number) => { + this.pushEvent("create_node", newNode, (node: Node, _ref: number) => { const newItem = createItem(node) item.after(newItem) focusItem(newItem, false)