From: Chris Duncan Date: Fri, 29 Nov 2024 10:25:05 +0000 (-0800) Subject: Import typing for blake. X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=86c482912e941934fbe41dc5c8ecdb3709521cfd;p=libnemo.git Import typing for blake. --- 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. */