Skip to content

Commit

Permalink
Fix optionality of options
Browse files Browse the repository at this point in the history
  • Loading branch information
ranisalt committed Jan 10, 2024
1 parent 0446bcc commit 47f1e66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion argon2.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ module.exports.limits = limits;
*/
/**
* @param {Buffer | string} plain
* @param {Options & { raw?: boolean }} options
* @param {Options & { raw?: boolean }} [options]
* @returns {Promise<Buffer | string>}
*/
module.exports.hash = async function (plain, options) {
Expand Down

0 comments on commit 47f1e66

Please sign in to comment.