chore: improve types

This commit is contained in:
kolaente 2022-09-15 14:32:29 +02:00
parent 2683fec0a6
commit 6d9c4a7aa0
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

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