mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-20 06:20:11 +00:00
fix: drop unused menu type exports
This commit is contained in:
@@ -7,13 +7,9 @@ export type MenuActionEntry = {
|
||||
onClick?: () => void | Promise<void>
|
||||
}
|
||||
|
||||
export type MenuDividerEntry = {
|
||||
type MenuDividerEntry = {
|
||||
kind: 'divider'
|
||||
key: string
|
||||
}
|
||||
|
||||
export type MenuEntry = MenuActionEntry | MenuDividerEntry
|
||||
|
||||
export function isMenuActionEntry(entry: MenuEntry): entry is MenuActionEntry {
|
||||
return entry.kind !== 'divider'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user