Skip to content

fix: update hono@4.11.4#23

Merged
saenyakorn merged 2 commits intomainfrom
anon/update-hono-deps
Jan 23, 2026
Merged

fix: update hono@4.11.4#23
saenyakorn merged 2 commits intomainfrom
anon/update-hono-deps

Conversation

@Anon-136
Copy link
Member

@Anon-136 Anon-136 commented Jan 23, 2026

I encounter this error after upgrading to "hono": "^4.11.4"

type Client<T> =
  T extends HonoBase<any, infer TSchema, any>
    ? TSchema extends Record<infer TPath, Schema>
      ? TPath extends string
        ? {
            [K in TPath]: ClientRequest<TSchema[TPath]>
                         // ^ Generic type 'ClientRequest' requires 3 type argument(s).
          }
        : never
      : never
    : never

Cause by this commit: honojs/hono@e049c9a#diff-786ee0c27ee2360ff838e12e8de257697060cc7bddcb8cb461c8ba1faa664aceR29

So I fix it

  • run typecheck
  • run test

@changeset-bot
Copy link

changeset-bot bot commented Jan 23, 2026

🦋 Changeset detected

Latest commit: 0f2f7b7

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@softnetics/hono-react-query Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@Anon-136 Anon-136 requested a review from saenyakorn January 23, 2026 15:30
Update hono package to version 4.11.4.
@saenyakorn saenyakorn merged commit 7f5e0dd into main Jan 23, 2026
1 check passed
@github-actions github-actions bot mentioned this pull request Jan 23, 2026
@Anon-136 Anon-136 deleted the anon/update-hono-deps branch January 23, 2026 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants