Jsdoc fix

Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
RMidhunSuresh 2021-08-11 12:45:45 +05:30 committed by Bruno Windels
parent da715c70b0
commit aee135a6cd

View file

@ -87,7 +87,7 @@ class ItemRange {
* Check if this range intersects with another range
* @param {ItemRange} range The range to check against
* @param {ScrollDirection} scrollDirection
* @returns {Boolean}
* @returns {boolean}
*/
intersects(range) {
return !!Math.max(0, Math.min(this.lastIndex, range.lastIndex) - Math.max(this.topCount, range.topCount));