From 7b9cce765ed0c69604bd1be23d85716720fc8bd4 Mon Sep 17 00:00:00 2001 From: schroda <50052685+schroda@users.noreply.github.com> Date: Sat, 16 Aug 2025 17:25:54 +0200 Subject: [PATCH] Remove outdated "@ts-ignore" usage Got fixed with v5.3.5 --- src/lib/mui/MUI.util.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/mui/MUI.util.ts b/src/lib/mui/MUI.util.ts index 6aab38a4..970b020d 100644 --- a/src/lib/mui/MUI.util.ts +++ b/src/lib/mui/MUI.util.ts @@ -17,8 +17,7 @@ export class MUIUtil { static preventRippleProp[]>( ...handlers: T ): T & Pick, 'onMouseDown' | 'onTouchStart'> { - // @ts-ignore - "chainEventHandlers" is wrongly typed - return chainEventHandlers(...handlers, { + return chainEventHandlers(handlers[0], ...handlers.slice(1), { onMouseDown: MUIUtil.preventRipple(), onTouchStart: MUIUtil.preventRipple(), }) as T & Pick, 'onMouseDown' | 'onTouchStart'>;