Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

chore: type is updated for thunk

Palash guptaf149258de298
diff --git a/frontend/src/store/index.ts b/frontend/src/store/index.ts
index 4b725b7218..39f43fdf85 100644
--- a/frontend/src/store/index.ts
+++ b/frontend/src/store/index.ts
@@ -1,5 +1,6 @@
import { applyMiddleware, compose, createStore } from 'redux';
import thunk, { ThunkMiddleware } from 'redux-thunk';
+import AppActions from 'types/actions';
import reducers, { AppState } from './reducers';
@@ -8,8 +9,9 @@ const composeEnhancers =
const store = createStore(
reducers,
- // @TODO Add Type for AppActions also
- composeEnhancers(applyMiddleware(thunk as ThunkMiddleware<AppState>)),
+ composeEnhancers(
+ applyMiddleware(thunk as ThunkMiddleware<AppState, AppActions>),
+ ),
);
export default store;