mirror of
https://github.com/tiennm99/github-readme-stats.git
synced 2026-05-30 00:21:15 +00:00
refactor: fix createProgressNode function jsdoc and enable ts-check (#3211)
This commit is contained in:
committed by
GitHub
parent
47e6e56eb3
commit
8879c7fe2e
@@ -1,3 +1,5 @@
|
||||
// @ts-check
|
||||
|
||||
import { clampValue } from "./utils.js";
|
||||
|
||||
/**
|
||||
@@ -8,7 +10,7 @@ import { clampValue } from "./utils.js";
|
||||
* @param {number} createProgressNodeParams.y Y-axis position.
|
||||
* @param {number} createProgressNodeParams.width Width of progress bar.
|
||||
* @param {string} createProgressNodeParams.color Progress color.
|
||||
* @param {string} createProgressNodeParams.progress Progress value.
|
||||
* @param {number} createProgressNodeParams.progress Progress value.
|
||||
* @param {string} createProgressNodeParams.progressBarBackgroundColor Progress bar bg color.
|
||||
* @param {number} createProgressNodeParams.delay Delay before animation starts.
|
||||
* @returns {string} Progress node.
|
||||
|
||||
Reference in New Issue
Block a user