Skip to content

Commit

Permalink
fix(deno): export types for the client (#1137)
Browse files Browse the repository at this point in the history
  • Loading branch information
yusukebe authored May 27, 2023
1 parent 2a2f73a commit f251706
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion deno_dist/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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'
3 changes: 2 additions & 1 deletion src/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export type {
NotFoundHandler,
ValidationTargets,
Input,
TypedResponse,
} from './types'
export type { Context, ContextVariableMap } from './context'
export type { HonoRequest } from './request'
Expand All @@ -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'

0 comments on commit f251706

Please sign in to comment.