diff --git a/striker-ui/types/FormUtils.d.ts b/striker-ui/types/FormUtils.d.ts index 5eed5d1b..b65f506c 100644 --- a/striker-ui/types/FormUtils.d.ts +++ b/striker-ui/types/FormUtils.d.ts @@ -29,8 +29,14 @@ type FormUtils = { setFormValidity: import('react').Dispatch< import('react').SetStateAction> >; - setMessage: (key: keyof M, message?: Message) => void; - setMessageRe: (re: RegExp, message?: Message) => void; + setMessage: ( + 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; setValidityRe: (re: RegExp, value?: boolean) => void; unsetKey: (key: keyof M) => void;