From 437ab8e8fe71c271d88166beb5c7a6e115fff185 Mon Sep 17 00:00:00 2001 From: Francis Dinh Date: Mon, 22 Aug 2022 22:04:49 -0400 Subject: [PATCH] fix lints in folder.vue --- packages/client/src/components/form/folder.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/client/src/components/form/folder.vue b/packages/client/src/components/form/folder.vue index a9d8bd97b8..533ee4bbe6 100644 --- a/packages/client/src/components/form/folder.vue +++ b/packages/client/src/components/form/folder.vue @@ -26,10 +26,10 @@ const props = withDefaults(defineProps<{ defaultOpen: false, }); -let opened = $ref(props.defaultOpen); -let openedAtLeastOnce = $ref(props.defaultOpen); +let opened: boolean = $ref(props.defaultOpen); +let openedAtLeastOnce: boolean = $ref(props.defaultOpen); -const toggle = () => { +const toggle = (): void => { opened = !opened; if (opened) { openedAtLeastOnce = true;