chore: improve types
This commit is contained in:
parent
2683fec0a6
commit
6d9c4a7aa0
1 changed files with 5 additions and 6 deletions
|
@ -6,12 +6,11 @@
|
|||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
defineProps({
|
||||
color: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
})
|
||||
import type { Color } from 'csstype'
|
||||
|
||||
defineProps< {
|
||||
color: Color,
|
||||
}>()
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
|
Loading…
Reference in a new issue