diff --git a/lib/persisted-model.js b/lib/persisted-model.js index 5dceeec0..85840f68 100644 --- a/lib/persisted-model.js +++ b/lib/persisted-model.js @@ -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. */