Skip to content

Commit

Permalink
Fix types in lifecycle middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
markerikson committed Dec 31, 2024
1 parent b0877ea commit e79df69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ export const buildCacheLifecycleHandler: InternalHandlerBuilder = ({
mwApi.dispatch(
api.util.updateQueryData(
endpointName as never,
originalArgs,
originalArgs as never,
updateRecipe,
),
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ export const buildQueryLifecycleHandler: InternalHandlerBuilder = ({
mwApi.dispatch(
api.util.updateQueryData(
endpointName as never,
originalArgs,
originalArgs as never,
updateRecipe,
),
)
Expand Down

0 comments on commit e79df69

Please sign in to comment.