We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Welcome to the issues section if it's your first time!
pnpm install argon2@next
No error with 0.31.2
src/Foo.ts:xx:xx - error TS2554: Expected 2 arguments, but got 1. 83 return argon2.hash(password); ~~~~~~~~~~~~~~ node_modules/.pnpm/argon2@0.40.0-alpha.2/node_modules/argon2/argon2.d.cts:1:46 1 export function hash(plain: Buffer | string, options: Options & { ~~~~~~~~~~~~~~~~~~~~ 2 raw?: boolean | undefined; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 }): Promise<Buffer | string>; ~ An argument for 'options' was not provided. src/Foo.ts:xx:xx - error TS2554: Expected 2 arguments, but got 1. 98 this.password = await argon2.hash(candidatePassword); ~~~~~~~~~~~~~~~~~~~~~~~ node_modules/.pnpm/argon2@0.40.0-alpha.2/node_modules/argon2/argon2.d.cts:1:46 1 export function hash(plain: Buffer | string, options: Options & { ~~~~~~~~~~~~~~~~~~~~ 2 raw?: boolean | undefined; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 }): Promise<Buffer | string>; ~ An argument for 'options' was not provided. Found 2 errors in the same file, starting at: src/Foo.ts:xx
Operating system:
Node version: v18.18.2
Compiler version:
The text was updated successfully, but these errors were encountered:
Found the issue, 0.40.0-alpha.3 will soon be released with a fix
Sorry, something went wrong.
Fixed, thanks ;)
No branches or pull requests
Welcome to the issues section if it's your first time!
Before creating an issue, please be sure to:
Steps to reproduce
pnpm install argon2@next
Expected behaviour
No error with 0.31.2
Actual behaviour
Environment
Operating system:
Node version:
v18.18.2
Compiler version:
The text was updated successfully, but these errors were encountered: