You've already forked simple-icons
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:
committed by
GitHub
parent
18a5c39e21
commit
43dc6b190b
@ -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 (
|
||||
|
Reference in New Issue
Block a user