Skip to content

Commit

Permalink
Declare 2nd parameter of set to be optional
Browse files Browse the repository at this point in the history
  • Loading branch information
jcbrand committed Feb 22, 2024
1 parent 4ff7282 commit ab2e431
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 @@ -207,7 +207,7 @@ class Model extends EventEmitter(Object) {
* the core primitive operation of a model, updating the data and notifying
* anyone who needs to know about the change in state. The heart of the beast.
* @param {string|Object} key
* @param {string|Object} val
* @param {string|Object} [val]
* @param {Options} [options]
*/
set(key, val, options) {
Expand Down

0 comments on commit ab2e431

Please sign in to comment.