UNPKG

mobx-keystone

Version:

A MobX powered state management solution based on data trees with first class support for TypeScript, snapshots, patches and much more

12 lines (11 loc) 695 B
/** * Connects a tree node to a redux dev tools instance. * * @param remotedevPackage The remotedev package (usually the result of `require("remoteDev")`) (https://www.npmjs.com/package/remotedev). * @param remotedevConnection The result of a connect method from the remotedev package (usually the result of `remoteDev.connectViaExtension(...)`). * @param target Object to use as root. * @param [options] Optional options object. `logArgsNearName` if it should show the arguments near the action name (default is `true`). */ export declare function connectReduxDevTools(remotedevPackage: any, remotedevConnection: any, target: object, options?: { logArgsNearName?: boolean; }): void;