Installation
npm install --save @types/react-native-honeywell-scanner
Summary
This package contains type definitions for react-native-honeywell-scanner (https://github.com/Volst/react-native-honeywell-scanner).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native-honeywell-scanner.
index.d.ts
declare namespace HoneywellScanner {
const isCompatible: boolean;
function on(eventName: string, handler: (event: { data: string } | string | null) => void): void;
function off(eventName: string, handler: () => void): void;
function startReader(): Promise<boolean>;
function stopReader(): Promise<void>;
}
export default HoneywellScanner;
Additional Details
- Last updated: Tue, 07 Nov 2023 0939 GMT
- Dependencies: none
Credits
These definitions were written by Adam Walker.