Fix types

This commit is contained in:
Adria Navarro 2025-01-29 11:19:28 +01:00
parent e34812719b
commit 53f0c3ce92
1 changed files with 2 additions and 2 deletions

View File

@ -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)