diff --git a/src/features/boards/Board.vue b/src/features/boards/Board.vue index 7d50aa4..4212988 100644 --- a/src/features/boards/Board.vue +++ b/src/features/boards/Board.vue @@ -44,7 +44,7 @@ :selectedAction="unref(selectedAction)" @mouseDown="mouseDown" @endDragging="endDragging" - @clickAction="actionId => clickAction(node, actionId)" + @clickAction="(actionId: string) => clickAction(node, actionId)" /> diff --git a/src/features/boards/BoardNode.vue b/src/features/boards/BoardNode.vue index e29b4eb..ffc2cb6 100644 --- a/src/features/boards/BoardNode.vue +++ b/src/features/boards/BoardNode.vue @@ -12,7 +12,7 @@ :node="node" :node-type="nodeType" :selected-action="selectedAction" - @click-action="actionId => emit('clickAction', actionId)" + @click-action="(actionId: string) => emit('clickAction', actionId)" />