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 c3abdd3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ const _getMenuItemStylesFunction = memoizeFunction(
...styles: (IStyleFunctionOrObject<IContextualMenuItemStyleProps, IContextualMenuItemStyles> | undefined)[]
): IStyleFunctionOrObject<IContextualMenuItemStyleProps, IContextualMenuItemStyles> => {
return (styleProps: IContextualMenuItemStyleProps) =>
concatStyleSetsWithProps(styleProps, getItemStyles, ...styles);
concatStyleSetsWithProps(styleProps, getItemStyles, ...styles) as IContextualMenuItemStyles;
},
);

Expand Down

0 comments on commit c3abdd3

Please sign in to comment.