ngx-speech-recognition
ngx-speech-recognition copied to clipboard
Not Working on Angular 10
It worked for first time and then I got this then it never worked. Anything to add for Angular 10 ?
`ERROR in node_modules/@kamiazya/ngx-speech-recognition/lib/service/speech-recognition.token.d.ts: 16:73 - error TS2304: Cannot find name 'SpeechRecognitionError'.
16 export declare const SpeechRecognitionErrorHandler: InjectionToken<(ev: SpeechRecognitionError ) => any>; ~~~~~~~~~~~~~~~~~~~~~~ node_modules/@kamiazya/ngx-speech-recognition/lib/service/speech-recognition.service.d.ts:20:530 - error TS2304: Cannot find name 'SpeechRecognitionError'.
20 constructor(ref: ApplicationRef, grammars: SpeechGrammarListType, lang: string, continuous : boolean, interimResults: boolean, maxAlternatives: number, serviceURI: string, audiostartHandle r: (ev: Event) => any, soundstartHandler: (ev: Event) => any, speechstartHandler: (ev: Event) => any, speechendHandler: (ev: Event) => any, soundendHandler: (ev: Event) => any, audioendHandler: (ev: Event) => any, resultHandler: (ev: SpeechRecognitionEvent) => any, nomatchHandler: (ev: Spee chRecognitionEvent) => any, errorHandler: (ev: SpeechRecognitionError) => any, startHandler: (ev: Event) => any, endHandler: (ev: Event) => any); ~~~~~~~~~~~~~~~~~~~~~~ node_modules/@kamiazya/ngx-speech-recognition/lib/service/speech-recognition.service.d.ts:29:19 - error TS2304: Cannot find name 'SpeechRecognitionError'.
29 onerror: (ev: SpeechRecognitionError) => any; ~~~~~~~~~~~~~~~~~~~~~~ node_modules/@kamiazya/ngx-speech-recognition/lib/speech-recognition.config.d.ts:16:20 - error TS 2304: Cannot find name 'SpeechRecognitionError'.
16 onerror?: (ev: SpeechRecognitionError) => any; `
Issue-Label Bot is automatically applying the label bug
to this issue, with a confidence of 0.66. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
When will this bug be fixed?.
I have the same problem. Any suggestions? Tks