Skip to content
New issue

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

When an instance of a class is returned through c.json, if the type of a certain property in this class is unknown, the return value obtained by the Hono client request will be never. #3823

Open
quark-ftc opened this issue Jan 12, 2025 · 0 comments
Labels

Comments

@quark-ftc
Copy link

What version of Hono are you using?

4.6.13

What runtime/platform is your app running on? (with version if possible)

Node.js v22.11.0

What steps can reproduce the bug?

for example:

图片
When errorInfo is defined as unknown, the type of the response data carried in the Hono client is never.However, if the type of errorInfo is set to any, the type derivation result of the response data obtained by the Hono client will be correct.

What is the expected behavior?

No response

What do you see instead?

No response

Additional information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant