Replies: 1 comment
-
I'm using FastEndpoints and the default for |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using remix and trying to access my generated api client via a loader function:
To keep it brief, it turns out that the expression
useLoaderData<typeof loader>();
will return an object with the return type of atoJSON
method if present and the generated response class in my case has this:If I manually modify that method and make it
private
, delete it, or specify a type,useLoaderData<typeof loader>();
will return the correct thing for me.What can you guys recommend? Also, would it make sense for
toJSON
to returnICalendarEventsFindAllResponse
in this case?Beta Was this translation helpful? Give feedback.
All reactions