-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
result value and error transpiled to inline #212
Comments
Which version of Tauri Specta/Specta are you using? |
Actually, I have a feeling this issue will be fixed by d3c7476 which is unreleased. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I noticed any type passed into a
Result<>
as value or error does not form into a separate type in the typescript definitions.example code:
what it transpiles to:
notice how the result does not reference to a custom type.
how i would expect it to output:
thanks to
icb
in the tauri discord server for helping me discover this error.I got lead to this because my type that i pass to the result i need to use other places in the frontend.
PS. the indenting is wacked up
The text was updated successfully, but these errors were encountered: