Make the jsdoc better

This commit is contained in:
Oliver-Akins 2023-12-24 23:08:40 -07:00
parent f68e7161df
commit cbf57990ee

View file

@ -77,8 +77,8 @@ function toFriendlyDuration(duration) {
};
/**
* If the argument is truthy, it returns HTML data to indicate the collapse is
* open
* Checks if the specified collapseId is currently open, so that during re-renders
* it remains open or closed.
*
* @param {Set<string>} expanded A set indicating what collapseIds are expanded
* @param {string} collapseId The collapseId to check for