Made value nullable in apicache JSDoc

Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
This commit is contained in:
Matthew Nickson 2022-04-22 19:42:42 +01:00
parent 46da5e51be
commit 587faecf87
No known key found for this signature in database
GPG Key ID: BF229DCFD4748E05

View File

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