Skip to content

Commit

Permalink
type: export MutationFetcher
Browse files Browse the repository at this point in the history
  • Loading branch information
ssssota committed Oct 6, 2022
1 parent c221a28 commit 66779f0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion mutation/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,4 +141,9 @@ const mutation = (<Data, Error>() =>
*/
export default withMiddleware(useSWR, mutation) as unknown as SWRMutationHook

export { SWRMutationConfiguration, SWRMutationResponse, SWRMutationHook }
export {
SWRMutationConfiguration,
SWRMutationResponse,
SWRMutationHook,
MutationFetcher
}

0 comments on commit 66779f0

Please sign in to comment.