From 7886014423d72c33b408e25c4d5e97710c68ded5 Mon Sep 17 00:00:00 2001 From: John Borges <1888122+johnborges@users.noreply.github.com> Date: Fri, 3 Sep 2021 08:29:57 -0400 Subject: [PATCH] docs(keychain-touch-id): update docs description for verify method (#3726) * chore: fixing typescript return types * refactor(keychain-touch-id): more specific return types * docs(keychain-touch-id): correct verify func desc --- src/@ionic-native/plugins/keychain-touch-id/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/@ionic-native/plugins/keychain-touch-id/index.ts b/src/@ionic-native/plugins/keychain-touch-id/index.ts index 977abc6a..569f8647 100644 --- a/src/@ionic-native/plugins/keychain-touch-id/index.ts +++ b/src/@ionic-native/plugins/keychain-touch-id/index.ts @@ -57,7 +57,7 @@ export class KeychainTouchId extends IonicNativePlugin { /** * Opens the fingerprint dialog, for the given key, showing an additional message. Promise will resolve - * with the password stored in keychain or will resolve an error code, where -1 indicated not available. + * with the password stored in keychain or will reject with an error code, where "-1" indicated not available. * @param key {string} the key you want to retrieve from keychain * @param message {string} a message to the user * @return {Promise} Returns a promise that resolves when the key value is successfully retrieved or an error