Skip to content

Commit

Permalink
fix(ContextualMenu): fix typing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mainframev committed Nov 8, 2024
1 parent a0fb254 commit b93c643
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,7 @@ const NavigationIdleDelay = 250; /* ms */
const COMPONENT_NAME = 'ContextualMenu';

const _getMenuItemStylesFunction = memoizeFunction(
(
...styles: (IStyleFunctionOrObject<IContextualMenuItemStyleProps, IContextualMenuItemStyles> | undefined)[]
): IStyleFunctionOrObject<IContextualMenuItemStyleProps, IContextualMenuItemStyles> => {
(...styles: (IStyleFunctionOrObject<IContextualMenuItemStyleProps, IContextualMenuItemStyles> | undefined)[]) => {
return (styleProps: IContextualMenuItemStyleProps) =>
concatStyleSetsWithProps(styleProps, getItemStyles, ...styles);
},
Expand Down

0 comments on commit b93c643

Please sign in to comment.