diff options
author | Vendicated <vendicated@riseup.net> | 2023-04-04 21:27:44 +0200 |
---|---|---|
committer | Vendicated <vendicated@riseup.net> | 2023-04-04 21:27:44 +0200 |
commit | a55c758b0ea7fd4ea804d3174f033b1bc5780aac (patch) | |
tree | 8a910c205ac337911d2ee057ded00acaba150a86 /src/webpack | |
parent | f092f434fe48ba0db8b3c0c66524899b5a21c4f1 (diff) | |
download | Vencord-a55c758b0ea7fd4ea804d3174f033b1bc5780aac.tar.gz Vencord-a55c758b0ea7fd4ea804d3174f033b1bc5780aac.tar.bz2 Vencord-a55c758b0ea7fd4ea804d3174f033b1bc5780aac.zip |
Fix SpotifyControls
Diffstat (limited to 'src/webpack')
-rw-r--r-- | src/webpack/common/types/menu.d.ts | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/webpack/common/types/menu.d.ts b/src/webpack/common/types/menu.d.ts index e48d594..bf5508a 100644 --- a/src/webpack/common/types/menu.d.ts +++ b/src/webpack/common/types/menu.d.ts @@ -21,7 +21,7 @@ import type { ComponentType, CSSProperties, PropsWithChildren, UIEvent } from "r type RC<C> = ComponentType<PropsWithChildren<C & Record<string, any>>>; export interface Menu { - ContextMenu: RC<{ + Menu: RC<{ navId: string; onClose(): void; className?: string; @@ -49,19 +49,21 @@ export interface Menu { id: string; interactive?: boolean; }>; + // TODO: Type me + MenuSliderControl: RC<any>; } export interface ContextMenuApi { close(): void; open( event: UIEvent, - render?: Menu["ContextMenu"], + render?: Menu["Menu"], options?: { enableSpellCheck?: boolean; }, - renderLazy?: () => Promise<Menu["ContextMenu"]> + renderLazy?: () => Promise<Menu["Menu"]> ): void; openLazy( event: UIEvent, - renderLazy?: () => Promise<Menu["ContextMenu"]>, + renderLazy?: () => Promise<Menu["Menu"]>, options?: { enableSpellCheck?: boolean; } ): void; } |