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

@@ -17,7 +17,7 @@ interface DropdownMenuContentProps<T> extends Omit<RadixDropdownMenuContentProps
interface DropdownMenuContentEmits extends RadixDropdownMenuContentEmits {}
type DropdownMenuContentSlots<T extends { slot?: string }> = Omit<DropdownMenuSlots<T>, 'default'> & {
default(props?: any): any
default(props?: {}): any
}
</script>