style: add explicit return value

This commit is contained in:
Sebin Nyshkim 2023-01-22 16:50:37 +01:00
parent 9893373a43
commit 6ecba14f6f

View file

@ -3,7 +3,7 @@ import { ref } from "vue";
const isExpanded = ref(false); const isExpanded = ref(false);
const toggle = () => { const toggle = (): void => {
isExpanded.value = !isExpanded.value; isExpanded.value = !isExpanded.value;
}; };
</script> </script>