Skip to content

Commit c1857d8

Browse files
committed
Store builder type error
1 parent 9623d33 commit c1857d8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
"@fluentui/react": "^8.105.2",
2424
"@microsoft/applicationinsights-web": "^2.8.9",
2525
"@redux-devtools/extension": "^3.2.5",
26-
"@testing-library/react-hooks": "^8.0.1",
2726
"@types/enzyme": "^3.10.12",
2827
"@types/jest": "^29.4.0",
2928
"@types/node": "^18.11.18",

packages/micro-frontend-react-redux/src/StoreBuilder.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import createSagaMiddleware, { SagaMiddleware } from 'redux-saga';
2-
import { createStore, applyMiddleware, Middleware, combineReducers, ReducersMapObject, Reducer } from 'redux';
2+
import {createStore, applyMiddleware, Middleware, combineReducers, ReducersMapObject, Reducer, AnyAction} from 'redux';
33
import { persistReducer, persistStore, PersistConfig } from 'redux-persist';
44
import { composeWithDevTools } from '@redux-devtools/extension';
55
import persistStorage from 'redux-persist/es/storage';
@@ -58,6 +58,8 @@ export class StoreBuilder<T extends IDefaultState> implements IStoreBuilder<T> {
5858
...(typeof enableOrOption !== 'boolean' ? enableOrOption : {}),
5959
};
6060

61+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
62+
// @ts-ignore
6163
this.middlewares.push(createLogger(opt));
6264
}
6365

0 commit comments

Comments
 (0)