Skip to content

Commit

Permalink
docs: Address JSDOC warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
meissadia committed Nov 3, 2023
1 parent 796c405 commit 01be9f1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ function setInitFlag(element) {

/**
* @param {string} selector - Selector to search for in the document.
* @param {Object} config - Configuration will be provided to the Constructor's init()
* @param {Function} Constructor - A constructor function.
* @param {HTMLElement} [scope] - A dom node in which to query the selector.
* @param {object} config - Configuration will be provided to the Constructor's init()
* If not supplied, it defaults to the `document`.
* @returns {Array} List of instances that were instantiated.
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/cfpb-forms/src/organisms/Multiselect.js
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ function Multiselect(element) {

/**
* Set up and create the multiselect.
* @param multiselectConfig Multiselect configuration options
* @param {object} multiselectConfig - Multiselect configuration options
* @returns {Multiselect} An instance.
*/
function init(multiselectConfig = DEFAULT_CONFIG) {
Expand Down
2 changes: 1 addition & 1 deletion packages/cfpb-forms/src/organisms/MultiselectModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function stringMatch(x, y) {
* @param {HTMLOptionsCollection} options -
* Set of options from a <select> element.
* @param {string} name - a unique name for this multiselect.
* @param {Object} config - Customization of Multiselect behavior
* @param {object} config - Customization of Multiselect behavior
*/
function MultiselectModel(options, name, config) {
const _options = options;
Expand Down

0 comments on commit 01be9f1

Please sign in to comment.