jscs-dev/jscs-jsdoc

Why can't support array[].property jsdoc syntax??

XGHeaven opened this issue · 0 comments

In jsdoc ,it support that syntax.

/**
 * Assign the project to a list of employees.
 * @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.
 */
Project.prototype.assign = function(employees) {
    // ...
};

copied from jsdoc

But jscs-jsdoc can't support that....