mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
6 lines
248 B
TypeScript
6 lines
248 B
TypeScript
import { isSupported, authenticate, TouchIDError } from 'react-native-touch-id';
|
|
|
|
isSupported().then((isOk: boolean) => {}).catch((error: TouchIDError) => {});
|
|
|
|
authenticate('reason').then((isOk: boolean) => {}).catch((error: TouchIDError) => {});
|