Skip to content

Commit b9e702a

Browse files
committed
feat: allow to send queryKey for invalidateQueries option (MobxMutation)
1 parent 541d461 commit b9e702a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/mobx-mutation.types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ export interface MobxMutationFeatures {
2525

2626
export interface MobxMutationInvalidateQueriesOptions
2727
extends Omit<InvalidateQueryFilters, 'queryKey'> {
28+
queryKey?: InvalidateQueryFilters['queryKey'];
2829
queryKeys?: InvalidateQueryFilters['queryKey'][];
2930
}
3031

0 commit comments

Comments
 (0)