Closed NamesMT closed 5 months ago
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:
Fixes by #2581. Thanks!
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: