User avatar
privTri Volpeon areon3NSmol @volpeon@icy.wyvern.rip
1y
hash.update(data: crypto.BinaryLike)
"Updates the hash content. [...] If data is Buffer, TypedArray or DataView, then inputEncoding is ignored."
Use a Buffer as parameter
"Argument of type 'Buffer' is not assignable to parameter of type 'BinaryLike'"
Good type definitions you got there, Node