Fix inconsistencies in JSDoc
This commit is contained in:
parent
913dd3a188
commit
3302391ac7
|
@ -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.
|
||||
*/
|
||||
|
||||
|
|
Loading…
Reference in New Issue