UNPKG

reactotron-redux

Version:
7 lines (6 loc) 367 B
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;