You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@panva Sorry for the late reply, it works now, thank you for the fast fix. It apparently has something to do with TypeScript itself as well, see this. But with your fix, it should work now, thanks again!
Describe the bug
TypeScript error: Argument of type '"string"' is not assignable to parameter of type '"oct"'
To Reproduce
Steps to reproduce the behaviour:
new jose.JWT.KeyStore()
type Algorithm = "RSA" | "EC" | "OKP" | "oct";
generateKey
:Reproduction link: https://codesandbox.io/s/laughing-shockley-hlpr1?file=/src/index.ts
Expected behaviour
Expect no error with type checking
Environment:
jose
version: v1.26.0Additional context
Add any other context about the problem here.
jose
too.The text was updated successfully, but these errors were encountered: