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:
Jo-Philipp Wich 2020-03-30 17:35:59 +02:00
parent ecc38681bc
commit a63cea83bd

View 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) {