From b93c643eddfb1df7f22358a6a15e466f5baa78d2 Mon Sep 17 00:00:00 2001 From: mainframev Date: Fri, 8 Nov 2024 13:17:21 +0100 Subject: [PATCH] fix(ContextualMenu): fix typing issue --- .../src/components/ContextualMenu/ContextualMenu.base.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/react/src/components/ContextualMenu/ContextualMenu.base.tsx b/packages/react/src/components/ContextualMenu/ContextualMenu.base.tsx index 945165847f8d70..5bb857c16180f5 100644 --- a/packages/react/src/components/ContextualMenu/ContextualMenu.base.tsx +++ b/packages/react/src/components/ContextualMenu/ContextualMenu.base.tsx @@ -145,9 +145,7 @@ const NavigationIdleDelay = 250; /* ms */ const COMPONENT_NAME = 'ContextualMenu'; const _getMenuItemStylesFunction = memoizeFunction( - ( - ...styles: (IStyleFunctionOrObject | undefined)[] - ): IStyleFunctionOrObject => { + (...styles: (IStyleFunctionOrObject | undefined)[]) => { return (styleProps: IContextualMenuItemStyleProps) => concatStyleSetsWithProps(styleProps, getItemStyles, ...styles); },