Typescript error in lib
See original GitHub issueSince the latest update i am getting the following typescript error:
node_modules/@zxing/library/esm5/browser/VideoInputDevice.d.ts(6,22):
TS2420: Class 'VideoInputDevice' incorrectly implements interface 'MediaDeviceInfo'. Property 'toJSON' is missing in type 'VideoInputDevice' but required in type 'MediaDeviceInfo'. Version: typescript 3.5.3
Can anyone help to resolve this error?
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
How to disable/suppress errors from libraries in TypeScript?
Is there any way of suppressing/muting/disabling error checking in libraries (e.g. directory node_modules )?. It can't be a duplicate of Allow ...
Read more >TypeScript errors and how to fix them
A list of common TypeScript errors and how to fix them. ... Depending on the configuration of “lib” in your “tsconfig.json” file, there...
Read more >Solve any external library error in TypeScript with module ...
This TypeScript tutorial will cover how we can use module augmentation to solve any type errors you might encounter when working with external...
Read more >gfmio/ts-error - GitHub
ts-error. TL/DR: An extendable error class that actually works with TypeScript and ES6 support compatible with all environments, even very old browsers.
Read more >TSConfig Option: lib - TypeScript
In TypeScript 4.5, lib files can be overriden by npm modules, ... Errors. Explore how TypeScript extends JavaScript to add more safety and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Can confirm, when using typescript 3.5.3, I am getting this error with angular 8.2. Downgrading typescript to 3.4.5 works with angular 8.2.4
Could you post a log or something about it? Or even open a new issue.