refactor(wakatime card): fix createTextNode function jsdoc to resolve type error (#3201)

This commit is contained in:
Alexandr Garbuzov
2023-09-06 08:04:07 +02:00
committed by GitHub
parent 659077ec44
commit b0e15fb17c
+1 -1
View File
@@ -96,7 +96,7 @@ const createLanguageTextNode = ({ langs, y }) => {
* @param {string} args.value The value of the text node item.
* @param {number} args.index The index of the text node item.
* @param {string} args.percent Percentage of the text node item.
* @param {boolean} args.hideProgress Whether to hide the progress bar.
* @param {boolean=} args.hideProgress Whether to hide the progress bar.
* @param {string} args.progressBarColor The color of the progress bar.
* @param {string} args.progressBarBackgroundColor The color of the progress bar background.
* @returns {string} The text SVG node.