feat: 🎸 Exporting all types in index (#45)
This commit is contained in:
parent
dea899bd17
commit
8351ef275f
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue