Skip to content
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

Type of PublicErrors.validation seems wrong #187

Open
simonihmig opened this issue Feb 9, 2023 · 0 comments
Open

Type of PublicErrors.validation seems wrong #187

simonihmig opened this issue Feb 9, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@simonihmig
Copy link

Here it is typed as ValidationErr | ValidationErr[], but ValidationErr itself is also typed as potentially being an array here, so narrowed down it seems the type would be string | string[] | string[][], and the last parts seems wrong, not?

I think it should be typed just as validation: ValidationErr!?

@SergeAstapov SergeAstapov added the bug Something isn't working label Oct 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants