TS2345: Argument of type ReadableStream is not assignable to parameter of type BodyInit | null | undefined #410
Unanswered
Andres6936
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Good day, I am currently exploring the idea of returning a PDF from a endpoint using TanStack Starter, the code currently works and returns the PDF without any issues.
I repeat, the code works, however, Typescript complains with the following error:
How to resolve this typing issue?
Beta Was this translation helpful? Give feedback.
All reactions