From 11802040bd5fc6b8bae48b82632b7cffc3089817 Mon Sep 17 00:00:00 2001 From: SauceyRed Date: Thu, 10 Jul 2025 23:55:26 +0200 Subject: [PATCH] feat: add ContextMenuItem interface --- types/interfaces.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/types/interfaces.ts b/types/interfaces.ts index e451a4b..7577377 100644 --- a/types/interfaces.ts +++ b/types/interfaces.ts @@ -83,3 +83,8 @@ export interface ScrollPosition { offsetTop: number, offsetLeft: number } + +export interface ContextMenuItem { + name: string, + callback: (...args: any[]) => any; +}