Skip to content

Commit

Permalink
Fix: invalid jsdoc comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
mysticatea committed May 13, 2016
1 parent 4a1bd16 commit 32daa0e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib/npm-run-all-error.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ module.exports = class NpmRunAllError extends Error {
/**
* Constructor.
*
* @param {{name: string, code: (number|undefined)}} causeResult -
* @param {{name: string, code: number}} causeResult -
* The result item of the npm-script which causes an error.
* @param {{name: string, code: (number|undefined)}[]} allResults -
* @param {Array.<{name: string, code: (number|undefined)}>} allResults -
* All result items of npm-scripts.
*/
constructor(causeResult, allResults) {
Expand All @@ -34,13 +34,13 @@ module.exports = class NpmRunAllError extends Error {
/**
* The code of a npm-script which exited with a non-zero code.
* This can be `undefined`.
* @type {(number|undefined)}
* @type {number}
*/
this.code = causeResult.code;

/**
* All result items of npm-scripts.
* @type {{name: string, code: (number|undefined)}[]}
* @type {Array.<{name: string, code: (number|undefined)}>}
*/
this.results = allResults;
}
Expand Down

0 comments on commit 32daa0e

Please sign in to comment.