Fix inconsistencies in JSDoc

This commit is contained in:
sghung@ca.ibm.com 2016-03-17 23:55:12 -04:00
parent 913dd3a188
commit 3302391ac7
1 changed files with 3 additions and 3 deletions

View File

@ -87,7 +87,7 @@ module.exports = function(registry) {
/**
* Create new instance of Model, and save to database.
*
* @param {Object}|[{Object}] data Optional data argument. Can be either a single model instance or an array of instances.
* @param {Object|Array.<Object>} [data] Optional data argument. Can be either a single model instance or an array of instances.
*
* @callback {Function} callback Callback function called with `cb(err, obj)` signature.
* @param {Error} err Error object; see [Error object](http://docs.strongloop.com/display/LB/Error+object).
@ -924,8 +924,8 @@ module.exports = function(registry) {
* @param {Object} [options.filter] Replicate models that match this filter
* @callback {Function} [callback] Callback function called with `(err, conflicts)` arguments.
* @param {Error} err Error object; see [Error object](http://docs.strongloop.com/display/LB/Error+object).
* @param {Conflict[]} conflicts A list of changes that could not be replicated due to conflicts.
* @param {Object] checkpoints The new checkpoints to use as the "since"
* @param {Array.<Conflict>} conflicts A list of changes that could not be replicated due to conflicts.
* @param {Object} checkpoints The new checkpoints to use as the "since"
* argument for the next replication.
*/