Fix types
This commit is contained in:
parent
e34812719b
commit
53f0c3ce92
|
@ -16,8 +16,8 @@ export const initialState = {
|
||||||
export const createHistoryStore = ({
|
export const createHistoryStore = ({
|
||||||
getDoc,
|
getDoc,
|
||||||
selectDoc,
|
selectDoc,
|
||||||
beforeAction,
|
beforeAction = () => {},
|
||||||
afterAction,
|
afterAction = () => {},
|
||||||
}) => {
|
}) => {
|
||||||
// Use a derived store to check if we are able to undo or redo any operations
|
// Use a derived store to check if we are able to undo or redo any operations
|
||||||
const store = writable(initialState)
|
const store = writable(initialState)
|
||||||
|
|
Loading…
Reference in New Issue