first
This commit is contained in:
+23
@@ -0,0 +1,23 @@
|
||||
import { Chunks } from "./decoder/decodeData";
|
||||
import { Point } from "./locator";
|
||||
export interface QRCode {
|
||||
binaryData: number[];
|
||||
data: string;
|
||||
chunks: Chunks;
|
||||
version: number;
|
||||
location: {
|
||||
topRightCorner: Point;
|
||||
topLeftCorner: Point;
|
||||
bottomRightCorner: Point;
|
||||
bottomLeftCorner: Point;
|
||||
topRightFinderPattern: Point;
|
||||
topLeftFinderPattern: Point;
|
||||
bottomLeftFinderPattern: Point;
|
||||
bottomRightAlignmentPattern?: Point;
|
||||
};
|
||||
}
|
||||
export interface Options {
|
||||
inversionAttempts?: "dontInvert" | "onlyInvert" | "attemptBoth" | "invertFirst";
|
||||
}
|
||||
declare function jsQR(data: Uint8ClampedArray, width: number, height: number, providedOptions?: Options): QRCode | null;
|
||||
export default jsQR;
|
||||
Reference in New Issue
Block a user