Skip to content

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.

2 participants