Files
luci/modules
Victor Irzak 7fccab79e3 luci-base: fix JSDoc of option(), taboption() and addNotification()
form: option() documented three parameters for its two: the class as
`optionclass` and the real `cbiClass` as `{object}` classargs. Document
`cbiClass` and `args`. taboption() documented an `optionclass` its
signature (tabName, ...args) does not have; name the class parameter
in the signature instead, which behaves the same. Both said the class
must derive from AbstractSection where they check for AbstractValue.

ui: addNotification() describes a `null` title and is called with one
throughout LuCI, but typed it as string; mark it nullable.

luci: XMLHTTPRequest is spelled XMLHttpRequest.
Signed-off-by: Victor Irzak <victor@irzak.com>
2026-10-07 19:41:22 +02:00
..