From 6498f3fcef99891939ea57e48a1d1b6c4d7f6004 Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Mon, 12 Oct 2020 11:11:17 +0100 Subject: [PATCH] Simplify types --- src/SecurityManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SecurityManager.ts b/src/SecurityManager.ts index 2d97ce690b..4d277692df 100644 --- a/src/SecurityManager.ts +++ b/src/SecurityManager.ts @@ -79,7 +79,7 @@ async function confirmToDismiss(): Promise { function makeInputToKey( keyInfo: ISecretStorageKeyInfo, -): ({ passphrase, recoveryKey }: { passphrase: string, recoveryKey: string }) => Promise { +): (keyParams: { passphrase: string, recoveryKey: string }) => Promise { return async ({ passphrase, recoveryKey }) => { if (passphrase) { return deriveKey(