luci-base: jsdoc fixes
authorPaul Donald <newtwen+github@gmail.com>
Mon, 23 Dec 2024 17:55:51 +0000 (17:55 +0000)
committerPaul Donald <newtwen+github@gmail.com>
Mon, 23 Dec 2024 17:55:51 +0000 (17:55 +0000)
Correctly describe the parameter for the various URL/path functions.

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
modules/luci-base/htdocs/luci-static/resources/luci.js

index 1a5fecc8b370aa24fa83e143469a75b815377a81..f2e78b1fa4cad88e182bb71da0fb1a328a3b00f0 100644 (file)
                 * The prefix to join the given parts with. If the `prefix` is
                 * 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
                 * slashes and any of the other characters mentioned above.
                 *
                 * @instance
                 * @memberof LuCI
                 *
-                * @param {string[]} [parts]
+                * @param {...string} [parts]
                 * An array of parts to join into a URL path. Parts may contain
                 * slashes and any of the other characters mentioned above.
                 *
                 * @instance
                 * @memberof LuCI
                 *
-                * @param {string[]} [parts]
+                * @param {...string} [parts]
                 * An array of parts to join into a URL path. Parts may contain
                 * slashes and any of the other characters mentioned above.
                 *
                 * @instance
                 * @memberof LuCI
                 *
-                * @param {string[]} [parts]
+                * @param {...string} [parts]
                 * An array of parts to join into a URL path. Parts may contain
                 * slashes and any of the other characters mentioned above.
                 *