Add barcode-detector-api-polyfill dependency and update environment variable declarations in SvelteKit project
This commit is contained in:
Generated
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
import { IBarcodeDetector } from './IBarcodeDetector';
|
||||
export type WindowWithBarcodeDetector = Window & typeof globalThis & {
|
||||
BarcodeDetector: {
|
||||
prototype: IBarcodeDetector;
|
||||
new (): IBarcodeDetector;
|
||||
getSupportedFormats(): Promise<string[]>;
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user