Files
DefinitelyTyped/types/react-native-touch-id/react-native-touch-id-tests.ts
2017-06-30 01:23:43 +08:00

6 lines
170 B
TypeScript

import { isSupported, authenticate } from 'react-native-touch-id';
isSupported().then(() => {}).catch(() => {});
authenticate('reason').then(() => {}).catch(() => {});