fix lints in folder.vue

This commit is contained in:
Norm 2022-08-22 22:04:49 -04:00
parent 80844e2dd0
commit b0fdedb264
Signed by untrusted user: norm
GPG key ID: 7123E30E441E80DE

View file

@ -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;