When using ES6 destructuring in function parameters (e.g., function({ x, y })), the parent object is unnamed in the code. To document these properties, you must explicitly name the parent object in your JSDoc and use a hierarchical naming convention (prefixing property names with the parent name).
/**
* This method has hierarchical params
* @param {Object} animals different kinds of animals
* @param {String} animals.fishes number of kinds of fish
*/
function fishesAndFoxes({ fishes, foxes }) {
return fishes + foxes;
}