Skip to content
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

Fix TypeScript types #19

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

danmichaelo
Copy link

@danmichaelo danmichaelo commented Jan 23, 2025

Updates the TypeScript types to match the implementation, which only has a default export, not direct export of the four static methods.

Wrapped the methods in declare class Scrypt {} and added export default Scrypt at the end.

Tested with TypeScript 5.6.2 and ESM.

Note: My editor did a little bit of extra whitespace changes, let me know if you prefer to have these reverted.

@nikelborm
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants