refactor(list): improve prop typing
This commit is contained in:
parent
3809d11970
commit
8090737996
1 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
|||
<script setup lang="ts">
|
||||
const props = defineProps(["highlight"])
|
||||
const props = defineProps<{
|
||||
highlight: string
|
||||
}>()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue