File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,10 @@ import type {
14
14
SWRMutationConfiguration ,
15
15
SWRMutationResponse ,
16
16
SWRMutationHook ,
17
- MutationFetcher
17
+ MutationFetcher ,
18
+ TriggerWithArgs ,
19
+ TriggerWithoutArgs ,
20
+ TriggerWithOptionsArgs
18
21
} from './types'
19
22
20
23
const mutation = ( < Data , Error > ( ) =>
@@ -160,5 +163,8 @@ export {
160
163
SWRMutationConfiguration ,
161
164
SWRMutationResponse ,
162
165
SWRMutationHook ,
163
- MutationFetcher
166
+ MutationFetcher ,
167
+ TriggerWithArgs ,
168
+ TriggerWithoutArgs ,
169
+ TriggerWithOptionsArgs
164
170
}
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ export interface TriggerWithArgs<
88
88
) : Promise < Data | undefined >
89
89
}
90
90
91
- interface TriggerWithOptionsArgs <
91
+ export interface TriggerWithOptionsArgs <
92
92
Data = any,
93
93
Error = any,
94
94
SWRMutationKey extends Key = Key ,
You can’t perform that action at this time.
0 commit comments