-
-
Notifications
You must be signed in to change notification settings - Fork 134
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
Cant set algorithm in TypeScript #674
Comments
It's not exactly the right way to do, but you can use it like this ->
|
@andr00w A working solution for me is to import from |
Anything other than |
Yes this work for me as well but other than
|
Have you found any solutions? |
Describe the bug
It does not possible to set the algorithm that is typed by the enum
HashAlgorithms
:HashAlgorithms
the import throws an error: "Cannot find module '@otplib/core/utils' from 'myservice.ts"To Reproduce
OR:
The text was updated successfully, but these errors were encountered: