fix(lint) tame linter

This commit is contained in:
Saúl Ibarra Corretgé
2025-01-10 16:32:25 +01:00
committed by Saúl Ibarra Corretgé
parent bad75b488e
commit 1edf88e744
48 changed files with 95 additions and 105 deletions

View File

@@ -244,9 +244,9 @@ const ContextMenu = ({
list: Element | null,
currentFocus: Element | null,
traversalFunction: (
list: Element | null,
currentFocus: Element | null
) => Element | null
list: Element | null,
currentFocus: Element | null
) => Element | null
) => {
let wrappedOnce = false;
let nextFocus = traversalFunction(list, currentFocus);

View File

@@ -141,7 +141,7 @@ const useStyles = makeStyles()(theme => {
});
interface IObject {
[key: string]: string | string[] | boolean | number | number[] | {} | undefined;
[key: string]: unknown;
}
export interface IDialogTab<P> {

View File

@@ -5,9 +5,9 @@ import { makeStyles } from 'tss-react/mui';
import { TEXT_OVERFLOW_TYPES } from '../../constants.web';
interface ITextWithOverflowProps {
children: ReactNode;
className?: string;
overflowType?: TEXT_OVERFLOW_TYPES;
children: ReactNode;
className?: string;
overflowType?: TEXT_OVERFLOW_TYPES;
}
const useStyles = makeStyles<{ translateDiff: number; }>()((_, { translateDiff }) => {