Refactor: Fixed renderStatsCard function docstring (#2946)

This commit is contained in:
Alexandr Garbuzov
2023-07-16 21:42:55 +03:00
committed by GitHub
parent 53d9bebee2
commit 2be4f86efd
+2 -2
View File
@@ -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,