HonoH
Hono8mo ago
4 replies
Cas Bomans

The hc function returns an unkown type

When I hover over the hc function I see this typing:
hc<Hono<BlankEnv, BlankSchema | MergeSchemaPath<BlankSchema, "/api/auth">, "/api/">>(baseUrl: string, options?: ClientRequestOptions): unknown

The type of the route seems to be correct, what am doing wrong?
Was this page helpful?