From f17f94a6c049c1300363b9406d1f9a349663e57d Mon Sep 17 00:00:00 2001 From: gary-Shen Date: Tue, 19 Nov 2024 17:17:15 +0800 Subject: [PATCH] fix(audio-annotator-react): update types --- .../audio-annotator-react/src/context/annotation.context.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/audio-annotator-react/src/context/annotation.context.ts b/packages/audio-annotator-react/src/context/annotation.context.ts index 1af6b3f31..eac3d1b29 100644 --- a/packages/audio-annotator-react/src/context/annotation.context.ts +++ b/packages/audio-annotator-react/src/context/annotation.context.ts @@ -38,7 +38,7 @@ export interface AnnotationContextType { onAnnotationChange: (annotation: MediaAnnotationInUI) => void; - onAnnotationSelect: (annotation: MediaAnnotationInUI) => void; + onAnnotationSelect: (annotation: MediaAnnotationInUI, e: React.MouseEvent) => void; onAnnotationsRemove: (annotations: MediaAnnotationWithTextAndTag[]) => void;