ngx-speech-recognition icon indicating copy to clipboard operation
ngx-speech-recognition copied to clipboard

Not Working on Angular 10

Open felixchristo opened this issue 4 years ago • 3 comments

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; `

felixchristo avatar Sep 03 '20 12:09 felixchristo

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.

issue-label-bot[bot] avatar Sep 03 '20 12:09 issue-label-bot[bot]

When will this bug be fixed?.

Express85 avatar Sep 18 '20 08:09 Express85

I have the same problem. Any suggestions? Tks

aleftos avatar Sep 29 '20 17:09 aleftos