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
|
continuous: boolean
|
||||||
interimResults: boolean
|
interimResults: boolean
|
||||||
lang: string
|
lang: string
|
||||||
|
maxAlternatives: number
|
||||||
onresult: ((event: SpeechRecognitionEvent) => void) | null
|
onresult: ((event: SpeechRecognitionEvent) => void) | null
|
||||||
onerror: ((event: Event) => void) | null
|
onerror: ((event: Event) => void) | null
|
||||||
onend: (() => void) | null
|
onend: (() => void) | null
|
||||||
|
|||||||
Reference in New Issue
Block a user