Skip to content

Commit

Permalink
fix(type): fix testing type
Browse files Browse the repository at this point in the history
  • Loading branch information
unadlib committed Dec 26, 2023
1 parent cf6e2d5 commit 7091e99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/usm-redux/test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ test('enablePatches', () => {
undefined,
{
enablePatches: true,
reduxEnhancer: applyMiddleware(({ getState }) => (next) => (action) => {
reduxEnhancer: applyMiddleware(({ getState }) => (next) => (action: any) => {
const lastState: any = getState();
const result = next(action);
snapshots.push(apply(lastState, action._patches));
Expand Down

0 comments on commit 7091e99

Please sign in to comment.