1
0
mirror of https://github.com/simple-icons/simple-icons.git synced 2025-07-12 22:21:23 +02:00

Use square brackets for JSDoc optional arguments (#12841)

This commit is contained in:
Álvaro Mondéjar Rubio
2025-03-04 14:49:47 +01:00
committed by GitHub
parent 18a5c39e21
commit 43dc6b190b
3 changed files with 11 additions and 11 deletions

View File

@ -23,7 +23,7 @@ const __dirname = getDirnameFromImportMeta(import.meta.url);
/**
* Get JSON schema data.
* @param {string} rootDirectory Path to the root directory of the project.
* @param {string} [rootDirectory] Path to the root directory of the project.
* @returns {Promise<any>} JSON schema data.
*/
export const getJsonSchemaData = async (
@ -53,7 +53,7 @@ export const writeIconsData = async (
/**
* Get SPDX license IDs from `spdx-license-ids` package.
* @param {string} rootDirectory Path to the root directory of the project.
* @param {string} [rootDirectory] Path to the root directory of the project.
* @returns {Promise<string[]>} Set of SPDX license IDs.
*/
export const getSpdxLicenseIds = async (