JamesBrill / react-speech-recognition

💬Speech recognition for your React app
https://webspeechrecognition.com/
MIT License
680 stars 121 forks source link

(browserSupportsContinuousListening): does not exist on useSpeechRecognition 😬 #188

Open AndreinaRiera opened 1 year ago

AndreinaRiera commented 1 year ago

Hello!

I am trying to take all precautions to be sure that the user's browser is compatible with what I need. But, I am not able to use "browserSupportsContinuousListening".

I get the following error:

Property 'browserSupportsContinuousListening' does not exist on type '{ transcript: string; interimTranscript: string; finalTranscript: string; listening: boolean; resetTranscript: () => void; browserSupportsSpeechRecognition: boolean; isMicrophoneAvailable: boolean; }'.

Could it be that adding it to the interface was overlooked?

Versions:

react-speech-recognition: 3.10.0 typescript: 5.0.4

Thank you! Excellent library!