We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
c.text()
4.2.9
Node v20
Declare a route with a return of c.text('anything')
c.text('anything')
The Response type should intersect TypedResponse<text>
Response
TypedResponse<text>
The Response is not typed
Image:
The text was updated successfully, but these errors were encountered:
Fixes by #2581. Thanks!
Sorry, something went wrong.
No branches or pull requests
What version of Hono are you using?
4.2.9
What runtime/platform is your app running on?
Node v20
What steps can reproduce the bug?
Declare a route with a return of
c.text('anything')
What is the expected behavior?
The
Response
type should intersectTypedResponse<text>
What do you see instead?
The
Response
is not typedAdditional information
Image:
The text was updated successfully, but these errors were encountered: