Add maxAlternatives type

This commit is contained in:
dsyoon
2026-01-28 22:19:36 +09:00
parent c05da7dc9e
commit a0302ed5ac

View File

@@ -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