Skip to content

Commit

Permalink
refactor: explicitly export types
Browse files Browse the repository at this point in the history
  • Loading branch information
angeloashmore committed May 25, 2021
1 parent 67ef2ba commit b5b34fe
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,17 @@ export * from './HTTPError'
export * as cookie from './cookie'

// General types used throughout the project. These are made public to allow users to better type their projects.
export * from './types'
export type {
FetchLike,
Form,
FormField,
HttpRequestLike,
Language,
LinkResolver,
Ordering,
Query,
Ref,
Repository,
RequestInitLike,
ResponseLike,
} from './types'

0 comments on commit b5b34fe

Please sign in to comment.