library
library copied to clipboard
DecodeContinuouslyCallback type incompatibile between @zxing/library and @zxing/browser
The typescript types DecodeContinuouslyCallback exported by @zxing/library and @zxing/browser are not compatible :
Error: Argument of type 'import("node_modules/@zxing/library/esm/browser/DecodeContinuouslyCallback").DecodeContinuouslyCallback' is not assignable to parameter of type 'import("node_modules/@zxing/browser/esm/common/DecodeContinuouslyCallback").DecodeContinuouslyCallback'.
Types of parameters 'result' and 'result' are incompatible.
Type 'Result | undefined' is not assignable to type 'Result'.
Type 'undefined' is not assignable to type 'Result'. (ts)
Stale issue message