Skip to content

Commit de163d5

Browse files
committed
Type fixes
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
1 parent 3e1ff3d commit de163d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/crypto-api/recovery-key.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export function encodeRecoveryKey(key: ArrayLike<number>): string | undefined {
4444
* Decode a recovery key encoded with the Matrix {@link https://spec.matrix.org/v1.11/appendices/#cryptographic-key-representation | Cryptographic key representation} encoding.
4545
* @param recoveryKey
4646
*/
47-
export function decodeRecoveryKey(recoveryKey: string): Uint8Array {
47+
export function decodeRecoveryKey(recoveryKey: string): Uint8Array<ArrayBuffer> {
4848
const result = bs58.decode(recoveryKey.replace(/ /g, ""));
4949

5050
let parity = 0;

0 commit comments

Comments
 (0)