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