mirror of
https://github.com/System-End/github-readme-stats.git
synced 2026-04-20 00:35:23 +00:00
Refactor: Fixed renderStatsCard function docstring (#2946)
This commit is contained in:
parent
53d9bebee2
commit
2be4f86efd
1 changed files with 2 additions and 2 deletions
|
|
@ -77,11 +77,11 @@ const createTextNode = ({
|
|||
/**
|
||||
* Renders the stats card.
|
||||
*
|
||||
* @param {Partial<import('../fetchers/types').StatsData>} stats The stats data.
|
||||
* @param {import('../fetchers/types').StatsData} stats The stats data.
|
||||
* @param {Partial<import("./types").StatCardOptions>} options The card options.
|
||||
* @returns {string} The stats card SVG object.
|
||||
*/
|
||||
const renderStatsCard = (stats = {}, options = {}) => {
|
||||
const renderStatsCard = (stats, options = {}) => {
|
||||
const {
|
||||
name,
|
||||
totalStars,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue