feat: add kcal app
This commit is contained in:
Vendored
+13
@@ -0,0 +1,13 @@
|
||||
/// <reference types="vite/client" />
|
||||
|
||||
// BarcodeDetector (Chromium): в lib.dom его ещё нет — минимальная декларация.
|
||||
interface DetectedBarcode {
|
||||
rawValue: string;
|
||||
format: string;
|
||||
}
|
||||
|
||||
declare class BarcodeDetector {
|
||||
constructor(options?: { formats?: string[] });
|
||||
detect(source: CanvasImageSource): Promise<DetectedBarcode[]>;
|
||||
static getSupportedFormats(): Promise<string[]>;
|
||||
}
|
||||
Reference in New Issue
Block a user