documentation/test/fixture/nest_params.input.js
Tom MacWright 25152edeb9 style(prettier): Use prettier for code formatting (#710)
* style(prettier): Use prettier for code formatting

This saves us style issues. Also adds husky and lint-staged for pre-commit testing

Refs https://github.com/documentationjs/documentation/issues/709
2017-04-10 14:25:45 -04:00

20 lines
655 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
*/