tsError for setError argument #9980
Answered
by
shuzootani
shuzootani
asked this question in
Q&A
-
version: ^7.42.1 if I pass 3 arguments to setError, ts error occurs like below. export type UseFormSetError<TFieldValues extends FieldValues> = (name: FieldPath<TFieldValues>, error: ErrorOption, options?: {
shouldFocus: boolean;
}) => void; |
Beta Was this translation helpful? Give feedback.
Answered by
shuzootani
Mar 3, 2023
Replies: 1 comment
-
it does not happen in |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
shuzootani
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
it does not happen in
7.41.1