From 86c482912e941934fbe41dc5c8ecdb3709521cfd Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Fri, 29 Nov 2024 02:25:05 -0800 Subject: [PATCH] Import typing for blake. --- src/lib/workers/nano-nacl.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/workers/nano-nacl.ts b/src/lib/workers/nano-nacl.ts index c0571eb..9901722 100644 --- a/src/lib/workers/nano-nacl.ts +++ b/src/lib/workers/nano-nacl.ts @@ -15,7 +15,9 @@ // See for details: https://docs.nano.org/integration-guides/the-basics/ // Original source commit: https://github.com/dchest/tweetnacl-js/blob/71df1d6a1d78236ca3e9f6c788786e21f5a651a6/nacl-fast.js -async function NanoNaCl (Blake2b) { +import type { Blake2b } from '../blake2b.js' + +async function NanoNaCl (Blake2b: Blake2b) { /** * Listens for messages from a calling function. */ -- 2.34.1