diff --git a/src/NativeReactNativeBiometrics.ts b/src/NativeReactNativeBiometrics.ts index 02e63af..80f6178 100644 --- a/src/NativeReactNativeBiometrics.ts +++ b/src/NativeReactNativeBiometrics.ts @@ -20,7 +20,7 @@ export interface Spec extends TurboModule { available: boolean; biometryType?: 'Biometrics' | 'FaceID' | 'TouchID' | 'None' | 'Unknown'; error?: string; - isDeviceSecure?: boolean; + isDeviceSecure: boolean; }>; simplePrompt( promptMessage: string, diff --git a/src/index.tsx b/src/index.tsx index a8ef764..1a8d4e9 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -668,7 +668,7 @@ export type BiometricSensorInfo = { errorCode?: string; fallbackUsed?: boolean; biometricStrength?: BiometricStrength; - isDeviceSecure?: boolean; + isDeviceSecure: boolean; }; export type BiometricAuthOptions = {