style: add explicit return value
This commit is contained in:
parent
9893373a43
commit
6ecba14f6f
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ import { ref } from "vue";
|
|||
|
||||
const isExpanded = ref(false);
|
||||
|
||||
const toggle = () => {
|
||||
const toggle = (): void => {
|
||||
isExpanded.value = !isExpanded.value;
|
||||
};
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue