definition for subtle crypto broken?
This code fails when I type-check because
There's nothing wrong with the code and it works just fine, but to pass typechecking I have to cast to
crypto.subtle.digest expects a BufferSource as 2nd param, contradicting all the docs and all the examples out there:There's nothing wrong with the code and it works just fine, but to pass typechecking I have to cast to
any and silence that, which isn't great