Add maxAlternatives type
This commit is contained in:
1
client/src/types/speech.d.ts
vendored
1
client/src/types/speech.d.ts
vendored
@@ -7,6 +7,7 @@ interface SpeechRecognition extends EventTarget {
|
||||
continuous: boolean
|
||||
interimResults: boolean
|
||||
lang: string
|
||||
maxAlternatives: number
|
||||
onresult: ((event: SpeechRecognitionEvent) => void) | null
|
||||
onerror: ((event: Event) => void) | null
|
||||
onend: (() => void) | null
|
||||
|
||||
Reference in New Issue
Block a user