|
|
@ -29,8 +29,14 @@ type FormUtils<M extends MapToInputTestID> = { |
|
|
|
setFormValidity: import('react').Dispatch< |
|
|
|
setFormValidity: import('react').Dispatch< |
|
|
|
import('react').SetStateAction<FormValidity<M>> |
|
|
|
import('react').SetStateAction<FormValidity<M>> |
|
|
|
>; |
|
|
|
>; |
|
|
|
setMessage: (key: keyof M, message?: Message) => void; |
|
|
|
setMessage: ( |
|
|
|
setMessageRe: (re: RegExp, message?: Message) => void; |
|
|
|
key: keyof M, |
|
|
|
|
|
|
|
message?: import('../components/MessageBox').Message, |
|
|
|
|
|
|
|
) => void; |
|
|
|
|
|
|
|
setMessageRe: ( |
|
|
|
|
|
|
|
re: RegExp, |
|
|
|
|
|
|
|
message?: import('../components/MessageBox').Message, |
|
|
|
|
|
|
|
) => void; |
|
|
|
setValidity: (key: keyof M, value?: boolean) => void; |
|
|
|
setValidity: (key: keyof M, value?: boolean) => void; |
|
|
|
setValidityRe: (re: RegExp, value?: boolean) => void; |
|
|
|
setValidityRe: (re: RegExp, value?: boolean) => void; |
|
|
|
unsetKey: (key: keyof M) => void; |
|
|
|
unsetKey: (key: keyof M) => void; |
|
|
|