Skip to content

Commit 01be9f1

Browse files
committed
docs: Address JSDOC warnings
1 parent 796c405 commit 01be9f1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/cfpb-atomic-component/src/utilities/atomic-helpers.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ function setInitFlag(element) {
100100

101101
/**
102102
* @param {string} selector - Selector to search for in the document.
103-
* @param {Object} config - Configuration will be provided to the Constructor's init()
104103
* @param {Function} Constructor - A constructor function.
105104
* @param {HTMLElement} [scope] - A dom node in which to query the selector.
105+
* @param {object} config - Configuration will be provided to the Constructor's init()
106106
* If not supplied, it defaults to the `document`.
107107
* @returns {Array} List of instances that were instantiated.
108108
*/

packages/cfpb-forms/src/organisms/Multiselect.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ function Multiselect(element) {
538538

539539
/**
540540
* Set up and create the multiselect.
541-
* @param multiselectConfig Multiselect configuration options
541+
* @param {object} multiselectConfig - Multiselect configuration options
542542
* @returns {Multiselect} An instance.
543543
*/
544544
function init(multiselectConfig = DEFAULT_CONFIG) {

packages/cfpb-forms/src/organisms/MultiselectModel.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function stringMatch(x, y) {
2929
* @param {HTMLOptionsCollection} options -
3030
* Set of options from a <select> element.
3131
* @param {string} name - a unique name for this multiselect.
32-
* @param {Object} config - Customization of Multiselect behavior
32+
* @param {object} config - Customization of Multiselect behavior
3333
*/
3434
function MultiselectModel(options, name, config) {
3535
const _options = options;

0 commit comments

Comments
 (0)