From 05f279c3a1b4bf23c7d55abdeda8d117932fbe0e Mon Sep 17 00:00:00 2001 From: Jouni Kantola Date: Fri, 4 Aug 2023 14:59:03 +0200 Subject: [PATCH] Fix type for tray options' menuItems property (#79) * Fix type for tray options' menuItems property * Menu icon and items required in tray options --- src/api/os.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/os.ts b/src/api/os.ts index 12e289a..ac9cf73 100644 --- a/src/api/os.ts +++ b/src/api/os.ts @@ -43,8 +43,8 @@ export interface Filter { } export interface TrayOptions { - icon?: string; - menu?: TrayMenuItem[]; + icon: string; + menuItems: TrayMenuItem[]; } export interface TrayMenuItem {