Conform more of the codebase with strictNullChecks (#10703)

This commit is contained in:
Michael Telatynski
2023-04-25 09:28:48 +01:00
committed by GitHub
parent db40479910
commit 619a9e8542
24 changed files with 108 additions and 77 deletions
+4 -1
View File
@@ -42,7 +42,10 @@ function getSecretStorageKey(): Uint8Array | null {
}
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
function getDehydrationKey(keyInfo: ISecretStorageKeyInfo): Promise<Uint8Array | null> {
function getDehydrationKey(
keyInfo: ISecretStorageKeyInfo,
checkFunc: (key: Uint8Array) => void,
): Promise<Uint8Array | null> {
return Promise.resolve(null);
}