chore(components): use {} for empty props

This commit is contained in:
Benjamin Canac
2024-06-28 22:03:14 +02:00
parent 8113c2163c
commit f9c69a7837
30 changed files with 69 additions and 63 deletions

View File

@@ -79,7 +79,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'(props?: any): any
'close'(props?: {}): any
'item': SlotProps<T>
'item-leading': SlotProps<T>
'item-label': SlotProps<T>