Skip to content

Commit

Permalink
fix: AvailableResult type missing property
Browse files Browse the repository at this point in the history
  • Loading branch information
epicshaggy committed Aug 10, 2022
1 parent 2907ef5 commit 3a4b4ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ NativeBiometric.deleteCredentials({
| -------------- | ------- | -------------- | -------------------------------------------------------- |
| `isAvailable` | | `boolean` | Specifies if the devices has biometric enrollment |
| `biometryType` | | `BiometryType` | Specifies the available biometric hardware on the device |
| `errorCode?` | | `number` | Error code returned by the native API |

### BiometryType - enum

Expand Down
1 change: 1 addition & 0 deletions src/definitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export interface IsAvailableOptions {
export interface AvailableResult {
isAvailable: boolean;
biometryType: BiometryType;
errorCode?: number;
}

export interface BiometricOptions {
Expand Down

0 comments on commit 3a4b4ee

Please sign in to comment.