From e7d20101a46dd329cb005e8b822fc3197b0d2499 Mon Sep 17 00:00:00 2001 From: Forrest Date: Tue, 18 Jun 2024 15:53:00 -0400 Subject: [PATCH] fix(MeasurementsToolList): ts error --- src/components/MeasurementsToolList.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/MeasurementsToolList.vue b/src/components/MeasurementsToolList.vue index 17986e8a1..c41ce056d 100644 --- a/src/components/MeasurementsToolList.vue +++ b/src/components/MeasurementsToolList.vue @@ -10,6 +10,7 @@ import { MultipleSelectionState, } from '@/src/composables/useMultipleToolSelection'; import { useToolSelectionStore } from '@/src/store/tools/toolSelection'; +import type { Maybe } from '@/src/types'; import MeasurementToolDetails from './MeasurementToolDetails.vue'; import { AnnotationTool } from '../types/annotation-tool'; @@ -80,7 +81,7 @@ const selectionStore = useToolSelectionStore(); const { selectAll, deselectAll, selected, selectionState } = useMultipleToolSelection(tools); -const toggleSelectAll = (shouldSelectAll: boolean) => { +const toggleSelectAll = (shouldSelectAll: Maybe) => { if (shouldSelectAll) { selectAll(); } else {