mirror of
https://github.com/anuraghazra/github-readme-stats.git
synced 2024-12-27 06:25:47 +08:00
Refactor: Fixed renderStatsCard function docstring (#2946)
This commit is contained in:
parent
53d9bebee2
commit
2be4f86efd
@ -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…
Reference in New Issue
Block a user