From 68cb21cf31f537db4efb2adfcaced1485d6874f9 Mon Sep 17 00:00:00 2001 From: Paschalis Economou Date: Sat, 27 Apr 2024 20:06:17 +0200 Subject: [PATCH] fix: added correct type for menu item --- components/doc/common/apidoc/index.json | 2 +- components/lib/menu/menu.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/doc/common/apidoc/index.json b/components/doc/common/apidoc/index.json index 7ac70de337..f388697fcd 100644 --- a/components/doc/common/apidoc/index.json +++ b/components/doc/common/apidoc/index.json @@ -34421,7 +34421,7 @@ "name": "item", "optional": false, "readonly": false, - "type": "any", + "type": "MenuItem", "description": "Current menuitem" }, { diff --git a/components/lib/menu/menu.d.ts b/components/lib/menu/menu.d.ts index 49de53936a..f64c5bd8a1 100644 --- a/components/lib/menu/menu.d.ts +++ b/components/lib/menu/menu.d.ts @@ -34,7 +34,7 @@ export interface MenuContext { /** * Current menuitem */ - item: any; + item: MenuItem; /** * Index of the menuitem */