-
Notifications
You must be signed in to change notification settings - Fork 275
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
[BUG]: Incorrect result types #547
Labels
bug
Something isn't working
Comments
inlet
changed the title
[BUG]: Types for errors in Result
[BUG]: Incorrect result types
Nov 22, 2024
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Any updates? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Any updates? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened?
here result is:
However
result.type
doesn't exist, instead it returns only the{ error: { message: string } }
, therefore it cannot infer the type.Same applies to:
Environment
No response
Reproduction
No response
The text was updated successfully, but these errors were encountered: