Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0dc3531

Browse files
authored
Fixed wakatime create text node func docstring to resolve vscode type errors (anuraghazra#2678)
1 parenta4d6fe1 commit0dc3531

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

‎src/cards/wakatime-card.js

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,15 @@ const createLanguageTextNode = ({ langs, totalSize, x, y }) => {
8686
/**
8787
* Create WakaTime text item.
8888
*
89-
*@param {Object[]} args The function arguments.
90-
*@param {string} id The id of the text node item.
91-
*@param {string} label The label of the text node item.
92-
*@param {string} value The value of the text node item.
93-
*@param {number} index The index of the text node item.
94-
*@param {percent} percent Percentage of the text node item.
95-
*@param {boolean} hideProgress Whether to hide the progress bar.
96-
*@param {string} progressBarBackgroundColor The color of the progress bar background.
89+
*@param {Object} args The function arguments.
90+
*@param {string} args.id The id of the text node item.
91+
*@param {string} args.label The label of the text node item.
92+
*@param {string} args.value The value of the text node item.
93+
*@param {number} args.index The index of the text node item.
94+
*@param {string} args.percent Percentage of the text node item.
95+
*@param {boolean} args.hideProgress Whether to hide the progress bar.
96+
*@param {string} args.progressBarColor The color of the progress bar.
97+
*@param {string} args.progressBarBackgroundColor The color of the progress bar background.
9798
*/
9899
constcreateTextNode=({
99100
id,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp