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> </template>
<script lang="ts" setup> <script lang="ts" setup>
defineProps({ import type { Color } from 'csstype'
color: {
type: String, defineProps< {
required: true, color: Color,
}, }>()
})
</script> </script>
<style scoped> <style scoped>