From 587faecf87a87ffc513c8b2ef0010ba64a84dc14 Mon Sep 17 00:00:00 2001 From: Matthew Nickson Date: Fri, 22 Apr 2022 19:42:42 +0100 Subject: [PATCH] Made value nullable in apicache JSDoc Signed-off-by: Matthew Nickson --- server/modules/apicache/apicache.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/apicache/apicache.js b/server/modules/apicache/apicache.js index 5d600500..41930b24 100644 --- a/server/modules/apicache/apicache.js +++ b/server/modules/apicache/apicache.js @@ -656,7 +656,7 @@ function ApiCache() { * misses. * @param {Uint8Array} array An array representing hits and * 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 */ this.hitRate = function (array) {