This commit is contained in:
Nathan Bierema 2020-10-23 13:08:18 -04:00
parent 8486fe058f
commit 6266d6bd5a
2 changed files with 11 additions and 2 deletions

View File

@ -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;

View File

@ -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;
}