From 3dc896b777c41c2d061ae499f564005e2d50fe11 Mon Sep 17 00:00:00 2001 From: Ayoub-Mabrouk Date: Thu, 7 Nov 2024 02:27:20 +0100 Subject: [PATCH] Refactor JSDoc for `Credentials` constructor: Improve parameter documentation - Enhanced JSDoc by specifying types and adding descriptions for `name` and `pass` parameters. --- index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.js b/index.js index 9106e64..c2a9a77 100644 --- a/index.js +++ b/index.js @@ -124,6 +124,9 @@ function parse (string) { /** * Object to represent user credentials. + * + * @param {string} name + * @param {string} pass * @private */