From 19890916d5747646d908a7ca1d742767ce0c98df Mon Sep 17 00:00:00 2001 From: Andrey Morozov Date: Mon, 25 Dec 2023 15:59:44 +0300 Subject: [PATCH] chore: remove eslint comments --- src/hooks/useActionHandlers/useActionHandlers.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/hooks/useActionHandlers/useActionHandlers.ts b/src/hooks/useActionHandlers/useActionHandlers.ts index 9a6e37c14e..2f3884caf4 100644 --- a/src/hooks/useActionHandlers/useActionHandlers.ts +++ b/src/hooks/useActionHandlers/useActionHandlers.ts @@ -2,7 +2,6 @@ import React from 'react'; import {KeyCode} from '../../constants'; -// eslint-disable-next-line @typescript-eslint/no-explicit-any type AnyFunction = (...args: any[]) => any; export type UseActionHandlersProps = AnyFunction; @@ -17,7 +16,6 @@ export function createOnKeyDownHandler(callback?: AnyFunction) { callback && [KeyCode.ENTER, KeyCode.SPACEBAR, KeyCode.SPACEBAR_OLD].includes(event.key) ) { - // eslint-disable-next-line callback-return callback(event); } };