diff --git a/src/Components/Templates/TitleCard.tsx b/src/Components/Templates/TitleCard.tsx
index c3370550..d90a93f7 100644
--- a/src/Components/Templates/TitleCard.tsx
+++ b/src/Components/Templates/TitleCard.tsx
@@ -1,5 +1,3 @@
-/* eslint-disable @typescript-eslint/prefer-nullish-coalescing */
-/* eslint-disable @typescript-eslint/no-explicit-any */
import Subtitle from '#components/Typography/Subtitle'
interface TitleCardProps {
@@ -8,7 +6,7 @@ interface TitleCardProps {
children?: React.ReactNode
topMargin?: string
className?: string
- TopSideButtons?: any
+ TopSideButtons?: React.ReactNode
}
/**
@@ -26,9 +24,9 @@ export function TitleCard({
{!hideTitle && (
diff --git a/src/Components/Typography/ErrorText.tsx b/src/Components/Typography/ErrorText.tsx
index 133c466a..b1af8717 100644
--- a/src/Components/Typography/ErrorText.tsx
+++ b/src/Components/Typography/ErrorText.tsx
@@ -1,7 +1,4 @@
-/* eslint-disable @typescript-eslint/restrict-template-expressions */
-
-// eslint-disable-next-line react/prop-types
-function ErrorText({ styleClass, children }) {
+function ErrorText({ styleClass, children }: { styleClass: string; children: React.ReactNode }) {
return
{children}
}
diff --git a/src/Utils/RandomColor.ts b/src/Utils/RandomColor.ts
index daa5e1c7..b23da582 100644
--- a/src/Utils/RandomColor.ts
+++ b/src/Utils/RandomColor.ts
@@ -1,8 +1,3 @@
-/* eslint-disable @typescript-eslint/restrict-template-expressions */
-/* eslint-disable @typescript-eslint/no-unsafe-assignment */
-/* eslint-disable @typescript-eslint/no-unsafe-return */
-/* eslint-disable @typescript-eslint/no-unsafe-member-access */
-/* eslint-disable @typescript-eslint/no-unsafe-call */
const goldenRatioConjugate = 0.618033988749895
export const randomColor = () => {
@@ -53,7 +48,7 @@ function hsvToHex(h: number, s: number, v: number) {
return rgbToHex(Math.round(r * 255), Math.round(g * 255), Math.round(b * 255))
}
-const rgbToHex = (r, g, b) =>
+const rgbToHex = (r: number, g: number, b: number) =>
'#' +
[r, g, b]
.map((x) => {