chore(components): declare slots after emits

This commit is contained in:
Benjamin Canac
2024-07-02 13:54:29 +02:00
parent 1eaec0ff56
commit cacd853d1e
3 changed files with 14 additions and 14 deletions

View File

@@ -29,14 +29,14 @@ export interface ChipProps {
ui?: Partial<typeof chip.slots>
}
export interface ChipEmits {
(e: 'update:show', payload: boolean): void
}
export interface ChipSlots {
default(props?: {}): any
content(props?: {}): any
}
export interface ChipEmits {
(e: 'update:show', payload: boolean): void
}
</script>
<script setup lang="ts">