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(