Add barcode-detector-api-polyfill dependency and update environment variable declarations in SvelteKit project
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
import { BrowserCodeReader } from './BrowserCodeReader';
|
||||
import MultiFormatReader from '../core/MultiFormatReader';
|
||||
import BinaryBitmap from '../core/BinaryBitmap';
|
||||
import Result from '../core/Result';
|
||||
import DecodeHintType from '../core/DecodeHintType';
|
||||
export declare class BrowserMultiFormatReader extends BrowserCodeReader {
|
||||
protected readonly reader: MultiFormatReader;
|
||||
constructor(hints?: Map<DecodeHintType, any>, timeBetweenScansMillis?: number);
|
||||
/**
|
||||
* Overwrite decodeBitmap to call decodeWithState, which will pay
|
||||
* attention to the hints set in the constructor function
|
||||
*/
|
||||
decodeBitmap(binaryBitmap: BinaryBitmap): Result;
|
||||
}
|
||||
Reference in New Issue
Block a user