Fixed docstring for wakatime card recalculate percentages function (#2710)

This commit is contained in:
Alexandr Garbuzov 2023-05-09 10:04:02 +03:00 committed by GitHub
parent 8ff5a3ba45
commit daa1977ba3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -140,7 +140,7 @@ const createTextNode = ({
* hiding languages.
*
* @param {import("../fetchers/types").WakaTimeLang[]} languages The languages array.
* @return {import("../fetchers/types").WakaTimeLang[]} The recalculated languages array.
* @return {void} The recalculated languages array.
*/
const recalculatePercentages = (languages) => {
const totalSum = languages.reduce(