Skip to content

Commit

Permalink
feat: 🎸 Exporting all types in index (kolplattformen#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohanObrink authored Feb 4, 2021
1 parent dea899b commit 8351ef2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ import { Api } from './api'
import { FetcherOptions } from './fetcher'
import { AsyncishFunction, Fetch } from './types'

export { Api, FetcherOptions }
export * from './types'

export default function init(fetch: Fetch, clearCookies: AsyncishFunction, options?: FetcherOptions): Api {
return new Api(fetch, clearCookies, options)
}

0 comments on commit 8351ef2

Please sign in to comment.