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:
parent
ecc38681bc
commit
a63cea83bd
1 changed files with 1 additions and 1 deletions
|
@ -2312,7 +2312,7 @@ Protocol = L.Class.extend(/** @lends LuCI.Network.Protocol.prototype */ {
|
||||||
* @param {string} ifname
|
* @param {string} ifname
|
||||||
* The name of the interface to be created.
|
* 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.
|
* Returns `null` if new interface is createable, else returns (error) message.
|
||||||
*/
|
*/
|
||||||
isCreateable: function(ifname) {
|
isCreateable: function(ifname) {
|
||||||
|
|
Loading…
Reference in a new issue