Simplify types
This commit is contained in:
parent
2698a12a6f
commit
6498f3fcef
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ async function confirmToDismiss(): Promise<boolean> {
|
||||||
|
|
||||||
function makeInputToKey(
|
function makeInputToKey(
|
||||||
keyInfo: ISecretStorageKeyInfo,
|
keyInfo: ISecretStorageKeyInfo,
|
||||||
): ({ passphrase, recoveryKey }: { passphrase: string, recoveryKey: string }) => Promise<Uint8Array> {
|
): (keyParams: { passphrase: string, recoveryKey: string }) => Promise<Uint8Array> {
|
||||||
return async ({ passphrase, recoveryKey }) => {
|
return async ({ passphrase, recoveryKey }) => {
|
||||||
if (passphrase) {
|
if (passphrase) {
|
||||||
return deriveKey(
|
return deriveKey(
|
||||||
|
|
Loading…
Reference in a new issue