reactotron-redux
Version:
A Reactotron plugin for Redux.
7 lines (6 loc) • 367 B
TypeScript
import { ReactotronCore } from "reactotron-core-client";
import { PluginConfig } from "./pluginConfig";
export default function createCommandHandler<Client extends ReactotronCore = ReactotronCore>(reactotron: Client, pluginConfig: PluginConfig, onReduxStoreCreation: (func: () => void) => void): ({ type, payload }: {
type: string;
payload?: any;
}) => void;