Skip to content

Commit

Permalink
JSDoc make param optional
Browse files Browse the repository at this point in the history
  • Loading branch information
jcbrand committed Feb 3, 2024
1 parent d018e35 commit c07905c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model.js
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ class Model extends EventEmitter(Object) {
* Remove an attribute from the model, firing `"change"`. `unset` is a noop
* if the attribute doesn't exist.
* @param {string} attr
* @param {Options} options
* @param {Options} [options]
*/
unset(attr, options) {
return this.set(attr, undefined, Object.assign({}, options, { unset: true }));
Expand Down

0 comments on commit c07905c

Please sign in to comment.