documentation/test/fixture/nest_params.input.js

21 lines
656 B
JavaScript

/**
* @param {Object[]} employees - The employees who are responsible for the project.
* @param {string} employees[].name - The name of an employee.
* @param {string} employees[].department - The employee's department.
* @param {string} [type=minion] - The employee's type.
*/
function foo(employees, type) {
}
/**
* @name foo
* @param {Object} options some options
* @param {number} options.much how much
* @param {number} bar something else
* @property {Object} theTime the current time
* @property {number} theTime.hours
* @property {number} theTime.minutes
* @property {number} theTime.seconds
* @returns {Object} foo something else
*/