-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Property 'message' does not exist on type 'DeepMap<String, FieldError>'. #2487
Comments
can you reproduce this in a codesandbox? |
here is a working version: https://codesandbox.io/s/trusting-frog-ssjwo?file=/src/App.tsx |
Hello @bluebill1049 here is the link : https://codesandbox.io/s/intelligent-voice-58z2h?file=/src/App.tsx |
why do you use |
Oh my god ... 😞 Thanks. I missed that. |
bluebill1049
removed
the
status: need more detail
Please follow our issue template.
label
Jan 24, 2021
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
I am using the library with TypeScript. And I am having a TypeScript error every time I want to access a message error.
(I cleaned the code to have only the error part of course)
I could do
(errors.email as any).message
but do you have a cleaner way ? Or am I missing something maybe.Am I on the latests version of the library.
Thanks !
The text was updated successfully, but these errors were encountered: