feat: 🎸 Exporting LoginStatusChecker interface (#46)
* feat: 🎸 Exporting all types in index * feat: 🎸 Exporting LoginStatusChecker interface
This commit is contained in:
parent
8351ef275f
commit
20e18e5e23
|
@ -4,6 +4,7 @@ import { AsyncishFunction, Fetch } from './types'
|
||||||
|
|
||||||
export { Api, FetcherOptions }
|
export { Api, FetcherOptions }
|
||||||
export * from './types'
|
export * from './types'
|
||||||
|
export { LoginStatusChecker } from './loginStatus'
|
||||||
|
|
||||||
export default function init(fetch: Fetch, clearCookies: AsyncishFunction, options?: FetcherOptions): Api {
|
export default function init(fetch: Fetch, clearCookies: AsyncishFunction, options?: FetcherOptions): Api {
|
||||||
return new Api(fetch, clearCookies, options)
|
return new Api(fetch, clearCookies, options)
|
||||||
|
|
Loading…
Reference in New Issue