mirror of
https://github.com/openwrt/luci.git
synced 2025-12-26 13:26:20 +04:00
luci-base: network.js: fix JSDoc syntax error
Fixes: 506dc5a90 ("luci-base: extended network.js for check if new interface is createable")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user