How to get type of loader data #1732
Unanswered
BrendanC23
asked this question in
Q&A
Replies: 1 comment 3 replies
-
I'm also encountering this issue @BrendanC23 did you ever find a solution to this? Temporarily I've added |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a component like this:
How can I get the type of
route.useLoaderData()
? I've triedReturnType<RouteApi<"/">["useLoaderData"]>
, but this givesunknown
.I found this similar discussion, but it doesn't have a solution.
Beta Was this translation helpful? Give feedback.
All reactions