@yudiel/react-qr-scanner
Version:
A library to scan QR codes in React.
7 lines • 333 B
TypeScript
export type ScannerErrorKind = 'permission-denied' | 'no-camera' | 'in-use' | 'overconstrained' | 'insecure-context' | 'unsupported' | 'aborted' | 'security' | 'type-error' | 'unknown';
export interface IScannerError {
kind: ScannerErrorKind;
message: string;
cause: unknown;
}
//# sourceMappingURL=IScannerError.d.ts.map