Enabled recommended-requiring-type-checking as result type fixes provided (#632)

* Enabled recommended-requiring-type-checking

* from .cjs to .js

* check

* check

* check

* check

* A lot of types aligned and refactored

* More strict types

* Improvement

* Improvements

* Improvements

* Fixed routs

* Fixed import types
This commit is contained in:
yuri-sakharov
2025-12-01 10:19:44 +02:00
committed by GitHub
parent 362f881b47
commit f2eb91bc02
75 changed files with 668 additions and 481 deletions
+2 -2
View File
@@ -24,7 +24,7 @@
*
*
*/
import { JSX } from "react";
import type { JSX, ReactNode } from "react";
// define the SelectMenuItem type:
// This is an object with a label and id.
@@ -39,7 +39,7 @@ export interface SelectMenuItemProps {
export interface SelectMenuProps {
header: string;
children: React.ReactNode;
children: ReactNode;
selected: number;
onSelect: (id: number) => void;
}