luci-base: Fix typos in JsDocs
[project/luci.git] / modules / luci-base / htdocs / luci-static / resources / fs.js
index 99defb76c526010c401f922286c88a526583d068..b64af04e56f8984012e697739efc28f8f523d33c 100644 (file)
@@ -229,7 +229,7 @@ var FileSystem = baseclass.extend(/** @lends LuCI.fs.prototype */ {
        /**
         * Unlink the given file.
         *
-        * @param {string}
+        * @param {string} path
         * The file path to remove.
         *
         * @returns {Promise<number>}
@@ -345,7 +345,7 @@ var FileSystem = baseclass.extend(/** @lends LuCI.fs.prototype */ {
         * @param {string} path
         * The file path to read.
         *
-        * @param {string} [type=text]
+        * @param {"blob"|"text"|"blob"} [type=text]
         * The expected type of read file contents. Valid values are `text` to
         * interpret the contents as string, `json` to parse the contents as JSON
         * or `blob` to return the contents as Blob instance.
@@ -387,7 +387,7 @@ var FileSystem = baseclass.extend(/** @lends LuCI.fs.prototype */ {
         * @param {string[]} [params]
         * The arguments to pass to the command.
         *
-        * @param {string} [type=text]
+        * @param {"blob"|"text"|"blob"} [type=text]
         * The expected output type of the invoked program. Valid values are
         * `text` to interpret the output as string, `json` to parse the output
         * as JSON or `blob` to return the output as Blob instance.