chore(react/settings): solve type errors

This commit is contained in:
Elian Doran
2025-08-19 21:41:05 +03:00
parent 1f479b20be
commit cbc9fb7d08
6 changed files with 12 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
import type { InputHTMLAttributes, RefObject } from "preact/compat";
interface FormTextBoxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "onChange" | "value"> {
interface FormTextBoxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "onChange" | "onBlur" | "value"> {
id?: string;
currentValue?: string;
onChange?(newValue: string, validity: ValidityState): void;