diff --git a/deno_dist/mod.ts b/deno_dist/mod.ts index 7dfc4defd..5c984d0a2 100644 --- a/deno_dist/mod.ts +++ b/deno_dist/mod.ts @@ -29,6 +29,7 @@ export type { NotFoundHandler, ValidationTargets, Input, + TypedResponse, } from './types.ts' export type { Context, ContextVariableMap } from './context.ts' export type { HonoRequest } from './request.ts' @@ -47,4 +48,4 @@ export { validator } from './validator/index.ts' // Client export { hc } from './client/index.ts' -export type { InferResponseType } from './client/index.ts' +export type { InferRequestType, InferResponseType, ClientRequestOptions } from './client/index.ts' diff --git a/src/mod.ts b/src/mod.ts index 32534217b..27917b03f 100644 --- a/src/mod.ts +++ b/src/mod.ts @@ -29,6 +29,7 @@ export type { NotFoundHandler, ValidationTargets, Input, + TypedResponse, } from './types' export type { Context, ContextVariableMap } from './context' export type { HonoRequest } from './request' @@ -47,4 +48,4 @@ export { validator } from './validator' // Client export { hc } from './client' -export type { InferResponseType } from './client' +export type { InferRequestType, InferResponseType, ClientRequestOptions } from './client'