-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replacement to MediaStreamError #130
Comments
+1. This comes up as an issue with Angular 13 now. |
The same problem |
same problem. Does anybody has a solution? :/ |
Still getting same problem even I've used typescript 4.4 onward and angular cli version is 13. |
@ChrisLoes as a quick fix I added this to my typings.d.ts global types file. declare global {
type MediaStreamError = Error;
} |
already fixed with #134, should only be merged. |
For this to work, we need to add |
"MediaStreamError" change to "EndOfStreamError" this is work for me |
How can i add this to Angular? |
@beyondtheobservableuniverse create a file |
This has been fixed in #134 and is part of version 0.4.1 of this library. Please update to the latest version. |
Does this 0.4.1 require a13? If yes, is there a fix that does not require an upgrade to a13? We are running 12.2.6 with 4.2.4. |
basst314, I upgraded to a13.1.2 with typescript 4.5.4 and ngx-webcam 0.4.1. I am still getting the error Cannot find name 'MediaStreamError'. Did you mean 'EndOfStreamError'? What can I do to fix this? |
I think that was not fixed |
What is this issue about?
This issue Is about the removal of
MediaStreamError
in typescript 4.4, as mentioned in microsoft/TypeScript-DOM-lib-generator#1029. Since the file path https://github.com/basst314/ngx-webcam/blob/master/src/app/modules/webcam/domain/webcam-init-error.ts#L3.Do look into the issue asap.
Waiting for a reply.
Thanks!
The text was updated successfully, but these errors were encountered: