mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-09 14:58:30 +08:00
chore(jsdoc):Linting fixes (#3703)
* fixed the lockfile having a different version * jsdoc
This commit is contained in:
@@ -6,11 +6,22 @@ const { ArrayWithKey } = require("./array-with-key");
|
||||
*/
|
||||
class LimitQueue extends ArrayWithKey {
|
||||
|
||||
/**
|
||||
* The limit of the queue after which the first element will be removed
|
||||
* @private
|
||||
* @type {number}
|
||||
*/
|
||||
__limit;
|
||||
/**
|
||||
* The callback function when the queue exceeds the limit
|
||||
* @private
|
||||
* @callback onExceedCallback
|
||||
* @param {{key:K,value:V}|nul} item
|
||||
*/
|
||||
__onExceed = null;
|
||||
|
||||
/**
|
||||
* @param {number} limit
|
||||
* @param {number} limit The limit of the queue after which the first element will be removed
|
||||
*/
|
||||
constructor(limit) {
|
||||
super();
|
||||
|
Reference in New Issue
Block a user