Skip to content

Commit

Permalink
fix: types issue
Browse files Browse the repository at this point in the history
  • Loading branch information
vighnesh153 committed Nov 10, 2024
1 parent 8dc44e2 commit ca5bdb9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@ import {
isRedoAvailable,
isUndoAvailable,
} from "@vighnesh153/drawing-app";
import { Queue } from "@vighnesh153/tools";

export const eventsManagerStore = writable<EventsManager>(buildEventsManager());

export const pendingQueueStore = derived(
eventsManagerStore,
(baseStore) => baseStore.pendingQueue,
(baseStore) => new Queue(...baseStore.pendingQueue.toArray()),
);
export const isUndoAvailableStore = derived(
eventsManagerStore,
Expand Down

0 comments on commit ca5bdb9

Please sign in to comment.