-
-
Notifications
You must be signed in to change notification settings - Fork 310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Type checking error for generate function #80
Labels
bug
Something isn't working
Comments
panva
added a commit
that referenced
this issue
Apr 27, 2020
@WangHansen please see the |
panva
added
bug
Something isn't working
waiting for feedback
The OP is asked for feedback or a proposal
and removed
triage
labels
Apr 27, 2020
panva
added a commit
that referenced
this issue
Apr 27, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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: