fix: define empty props in slots for nuxt-component-meta parsing

This commit is contained in:
Benjamin Canac
2024-06-28 11:45:14 +02:00
parent 84d814f88b
commit 369e0b1952
28 changed files with 62 additions and 62 deletions

View File

@@ -78,7 +78,7 @@ type SlotProps<T> = (props: { item: T, index: number }) => any
export type CommandPaletteSlots<G extends { slot?: string }, T extends { slot?: string }> = {
'empty'(props: { searchTerm?: string }): any
'close'(): any
'close'(props?: any): any
'item': SlotProps<T>
'item-leading': SlotProps<T>
'item-label': SlotProps<T>