mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-16 11:14:38 -05:00
Made value nullable in apicache JSDoc
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
This commit is contained in:
parent
46da5e51be
commit
587faecf87
@ -656,7 +656,7 @@ function ApiCache() {
|
|||||||
* misses.
|
* misses.
|
||||||
* @param {Uint8Array} array An array representing hits and
|
* @param {Uint8Array} array An array representing hits and
|
||||||
* misses.
|
* misses.
|
||||||
* @returns {number} a number between 0 and 1, or null if
|
* @returns {?number} a number between 0 and 1, or null if
|
||||||
* the array has no hits or misses
|
* the array has no hits or misses
|
||||||
*/
|
*/
|
||||||
this.hitRate = function (array) {
|
this.hitRate = function (array) {
|
||||||
|
Loading…
Reference in New Issue
Block a user