luci-base: jsdoc fixes

Correctly describe the parameter for the various URL/path functions.

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
This commit is contained in:
Paul Donald
2024-12-23 17:55:51 +00:00
parent 0826411de7
commit bc79691d84

View File

@@ -2744,7 +2744,7 @@
* The prefix to join the given parts with. If the `prefix` is * The prefix to join the given parts with. If the `prefix` is
* omitted, it defaults to an empty string. * omitted, it defaults to an empty string.
* *
* @param {string[]} [parts] * @param {...string} [parts]
* An array of parts to join into a URL path. Parts may contain * An array of parts to join into a URL path. Parts may contain
* slashes and any of the other characters mentioned above. * slashes and any of the other characters mentioned above.
* *
@@ -2782,7 +2782,7 @@
* @instance * @instance
* @memberof LuCI * @memberof LuCI
* *
* @param {string[]} [parts] * @param {...string} [parts]
* An array of parts to join into a URL path. Parts may contain * An array of parts to join into a URL path. Parts may contain
* slashes and any of the other characters mentioned above. * slashes and any of the other characters mentioned above.
* *
@@ -2806,7 +2806,7 @@
* @instance * @instance
* @memberof LuCI * @memberof LuCI
* *
* @param {string[]} [parts] * @param {...string} [parts]
* An array of parts to join into a URL path. Parts may contain * An array of parts to join into a URL path. Parts may contain
* slashes and any of the other characters mentioned above. * slashes and any of the other characters mentioned above.
* *
@@ -2830,7 +2830,7 @@
* @instance * @instance
* @memberof LuCI * @memberof LuCI
* *
* @param {string[]} [parts] * @param {...string} [parts]
* An array of parts to join into a URL path. Parts may contain * An array of parts to join into a URL path. Parts may contain
* slashes and any of the other characters mentioned above. * slashes and any of the other characters mentioned above.
* *