mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-05 04:15:16 +00:00
Simplify types
This commit is contained in:
@@ -79,7 +79,7 @@ async function confirmToDismiss(): Promise<boolean> {
|
||||
|
||||
function makeInputToKey(
|
||||
keyInfo: ISecretStorageKeyInfo,
|
||||
): ({ passphrase, recoveryKey }: { passphrase: string, recoveryKey: string }) => Promise<Uint8Array> {
|
||||
): (keyParams: { passphrase: string, recoveryKey: string }) => Promise<Uint8Array> {
|
||||
return async ({ passphrase, recoveryKey }) => {
|
||||
if (passphrase) {
|
||||
return deriveKey(
|
||||
|
||||
Reference in New Issue
Block a user