Skip to content

Commit 5b9abad

Browse files
committed
Minor TS fix
1 parent fe4e7cd commit 5b9abad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/text-annotator/src/TextAnnotator.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ export const createTextAnnotator = <I extends TextAnnotation = TextAnnotation, E
4747

4848
const { selection, viewport } = state;
4949

50-
const store: TextAnnotationStore = state.store;
50+
const store: TextAnnotationStore<I> = state.store;
5151

52-
const undoStack = createUndoStack(store);
52+
const undoStack = createUndoStack<I>(store);
5353

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

0 commit comments

Comments
 (0)