I don't if the title properly expressed what I am trying to do. But I have the following function:
/**
* @param {any} param1
* How to describe the second parameter??
* @returns {Object}
*/
function doSomething (param1, { property1 = null, property2 = null }){
// do stuff
return something
}
As questioned in the comment, using JSDocs, how would I describe the second parameter?