luci-base: network.js: fix JSDoc syntax error
authorJo-Philipp Wich <jo@mein.io>
Mon, 30 Mar 2020 15:35:59 +0000 (17:35 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 30 Mar 2020 15:36:29 +0000 (17:36 +0200)
Fixes: 506dc5a90 ("luci-base: extended network.js for check if new interface is createable")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/network.js

index c79022968ccc99132ab83285e40716f1f8b63dd4..ec40e78bebcfd45a26164443afa123796d1f2d57 100644 (file)
@@ -2312,7 +2312,7 @@ Protocol = L.Class.extend(/** @lends LuCI.Network.Protocol.prototype */ {
         * @param {string} ifname
         * The name of the interface to be created.
         *
-        * @returns {Promise<null|error message>}
+        * @returns {Promise<null|string>}
         * Returns `null` if new interface is createable, else returns (error) message.
         */
        isCreateable: function(ifname) {