diff --git a/packages/redux-devtools-core/src/app/actions/index.ts b/packages/redux-devtools-core/src/app/actions/index.ts index ab06015c..05546088 100644 --- a/packages/redux-devtools-core/src/app/actions/index.ts +++ b/packages/redux-devtools-core/src/app/actions/index.ts @@ -315,6 +315,10 @@ export function getReport(report: unknown): GetReportRequest { return { type: GET_REPORT_REQUEST, report }; } +export interface ActionCreator { + args: string[]; +} + interface LibConfig { actionCreators?: string; name?: string; diff --git a/packages/redux-devtools-core/src/app/reducers/instances.ts b/packages/redux-devtools-core/src/app/reducers/instances.ts index bb29e0f2..ba95f485 100644 --- a/packages/redux-devtools-core/src/app/reducers/instances.ts +++ b/packages/redux-devtools-core/src/app/reducers/instances.ts @@ -12,7 +12,12 @@ import { import { DISCONNECTED } from '../constants/socketActionTypes'; import parseJSON from '../utils/parseJSON'; import { recompute } from '../utils/updateState'; -import { LiftedActionDispatchAction, Request, StoreAction } from '../actions'; +import { + ActionCreator, + LiftedActionDispatchAction, + Request, + StoreAction, +} from '../actions'; export interface Features { lock?: boolean; @@ -33,7 +38,7 @@ export interface Options { connectionId?: string; explicitLib?: string; lib?: string; - actionCreators?: string; + actionCreators?: ActionCreator[]; features: Features; serialize?: boolean; }