Skip to content

Commit

Permalink
Declare Model attributes optional
Browse files Browse the repository at this point in the history
  • Loading branch information
jcbrand committed Nov 3, 2023
1 parent 88b1608 commit 2195389
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 @@ -37,7 +37,7 @@ class Model extends EventEmitter(Object) {
/**
* Create a new model with the specified attributes. A client id (`cid`)
* is automatically generated and assigned for you.
* @param {Attributes} attributes
* @param {Attributes} [attributes]
* @param {ModelOptions} [options]
*/
constructor(attributes, options) {
Expand Down

0 comments on commit 2195389

Please sign in to comment.