Skip to content

Commit

Permalink
Minor TS fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rsimon committed Dec 16, 2024
1 parent fe4e7cd commit 5b9abad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/text-annotator/src/TextAnnotator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ export const createTextAnnotator = <I extends TextAnnotation = TextAnnotation, E

const { selection, viewport } = state;

const store: TextAnnotationStore = state.store;
const store: TextAnnotationStore<I> = state.store;

const undoStack = createUndoStack(store);
const undoStack = createUndoStack<I>(store);

const lifecycle = createLifecycleObserver<I, E>(state, undoStack, opts.adapter);

Expand Down

0 comments on commit 5b9abad

Please sign in to comment.