Refactor: Fixed renderStatsCard function docstring (#2946)

This commit is contained in:
Alexandr Garbuzov authored and GitHub committed 2023-07-16 20:42:55 +02:00
1 parent 53d9bebee2
commit 2be4f86efd
1 file changed
+2 -2
+2 -2
View File
@@ -77,11 +77,11 @@ const createTextNode = ({
/** /**
* Renders the stats card. * 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. * @param {Partial<import("./types").StatCardOptions>} options The card options.
* @returns {string} The stats card SVG object. * @returns {string} The stats card SVG object.
*/ */
const renderStatsCard = (stats = {}, options = {}) => { const renderStatsCard = (stats, options = {}) => {
const { const {
name, name,
totalStars, totalStars,