Fix JSdoc comments

This commit is contained in:
Cohee 2024-01-24 13:07:56 +02:00
parent c76cc20a7d
commit e329bd8497
1 changed files with 2 additions and 4 deletions

View File

@ -81,7 +81,7 @@ class WorldInfoBuffer {
// End typedef area // End typedef area
/** /**
* @type {string[]} Key is the depth, value is an array of messages * @type {string[]} Array of messages sorted by ascending depth
*/ */
#depthBuffer = []; #depthBuffer = [];
@ -91,7 +91,7 @@ class WorldInfoBuffer {
#recurseBuffer = []; #recurseBuffer = [];
/** /**
* @type {number} The skew of the buffer. Used in "min activations" * @type {number} The skew of the global scan depth. Used in "min activations"
*/ */
#skew = 0; #skew = 0;
@ -154,7 +154,6 @@ class WorldInfoBuffer {
return this.#transformString(result, entry); return this.#transformString(result, entry);
} }
/** /**
* Matches the given string against the buffer. * Matches the given string against the buffer.
* @param {string} haystack The string to search in * @param {string} haystack The string to search in
@ -178,7 +177,6 @@ class WorldInfoBuffer {
return true; return true;
} }
} }
} else { } else {
return haystack.includes(transformedString); return haystack.includes(transformedString);
} }