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 b4a989e..3268aa7 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)" />