1 | ;
|
2 | var createHistory_1 = require("./createHistory");
|
3 | var log = require('debug')('redux-dag-history:DagHistory');
|
4 | function clear(history, config) {
|
5 | log('clearing history');
|
6 | var graph = history.graph, current = history.current;
|
7 | return createHistory_1.default(current, config);
|
8 | }
|
9 | Object.defineProperty(exports, "__esModule", { value: true });
|
10 | exports.default = clear;
|