Skip to content

Commit

Permalink
updating speech events types
Browse files Browse the repository at this point in the history
  • Loading branch information
OvidijusParsiunas committed May 5, 2024
1 parent 4d062c9 commit 9ddb2d0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions component/src/types/microphone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ export type SubmitAfterSilence = true | number;
export interface SpeechEvents {
onStart?: () => void;
onStop?: () => void;
onResult?: OnResult;
onPreResult?: OnPreResult;
onCommandModeTrigger?: OnCommandModeTrigger;
onPauseTrigger?: OnPauseTrigger;
onResult?: (text: string, isFinal: boolean) => void;
onPreResult?: (text: string, isFinal: boolean) => void;
onCommandModeTrigger?: (isStart: boolean) => void;
onPauseTrigger?: (isStart: boolean) => void;
}

export type SpeechToTextConfig = {
Expand Down

0 comments on commit 9ddb2d0

Please sign in to comment.