How can I infer typeof SafeActionResult result? #276
-
Beta Was this translation helpful? Give feedback.
Answered by
TheEdoRan
Sep 26, 2024
Replies: 1 comment 2 replies
-
You can infer the result of a safe action function by using the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To get the data type you can select the
data
prop from the result object: