mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-22 07:50:36 +01:00
chore(components): use {} for empty props
This commit is contained in:
@@ -47,7 +47,7 @@ export interface ContextMenuEmits extends ContextMenuRootEmits {}
|
||||
type SlotProps<T> = (props: { item: T, active?: boolean, index: number }) => any
|
||||
|
||||
export type ContextMenuSlots<T extends { slot?: string }> = {
|
||||
'default'(props?: any): any
|
||||
'default'(props?: {}): any
|
||||
'item': SlotProps<T>
|
||||
'item-leading': SlotProps<T>
|
||||
'item-label': SlotProps<T>
|
||||
|
||||
Reference in New Issue
Block a user