slate-devtools
Version:
`slate-devtools` as name suggests it is devtool for [slatejs](https://github.com/ianstormtaylor/slate) which will assist you in debugging the code
11 lines • 379 B
TypeScript
import { Operation } from "slate";
declare type ByActions = {
type: "push";
data: Operation;
} | {
type: "clear";
};
export declare const useDevtoolsOperationsRead: () => [Operation[], never];
export declare const useDevtoolsOperationsSet: () => [null, (update: ByActions) => void | Promise<void>];
export {};
//# sourceMappingURL=devtoolsOperation.d.ts.map