Fix TypeScript typecheck errors
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled
tests / ui (push) Has been cancelled

This commit is contained in:
Codex Agent
2026-01-30 15:56:06 +01:00
parent 916b204688
commit b1f9f7cee0
42 changed files with 324 additions and 72 deletions

View File

@@ -184,7 +184,7 @@ export const MobileInput = React.forwardRef<HTMLInputElement, React.ComponentPro
{...props}
{...({ type } as any)}
secureTextEntry={isPassword}
onChangeText={(value) => {
onChangeText={(value: string) => {
onChange?.({ target: { value } } as React.ChangeEvent<HTMLInputElement>);
}}
size={compact ? '$3' : '$4'}
@@ -222,7 +222,7 @@ export const MobileTextArea = React.forwardRef<
ref={ref as React.Ref<any>}
{...props}
{...({ minHeight: compact ? 72 : 96 } as any)}
onChangeText={(value) => {
onChangeText={(value: string) => {
onChange?.({ target: { value } } as React.ChangeEvent<HTMLTextAreaElement>);
}}
size={compact ? '$3' : '$4'}
@@ -292,7 +292,7 @@ export function MobileSelect({
<Select
value={selectValue}
defaultValue={selectValue === undefined ? selectDefault : undefined}
onValueChange={(next) => {
onValueChange={(next: string) => {
props.onChange?.({ target: { value: next } } as React.ChangeEvent<HTMLSelectElement>);
}}
size={compact ? '$3' : '$4'}