You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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: