To update barcodeFormatIds in TypeScript, we'll need to cast the type to use BigInt
eg,
settings.barcodeSettings.barcodeFormatIds = BigInt(EnumBarcodeFormat.BF_PDF41) | BigInt(EnumBarcodeFormat.BF_ONED);
Should we update the enum to only show the type to be bigint instead of bigint | string ?
Documentation Link: Barcode Formats and Count - Dynamsoft Barcode Reader SDK
Error message:
