Skip to content

Commit b733e45

Browse files
fix: add missing config static method (#167)
1 parent 727ded6 commit b733e45

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/StaticModel.js

+7
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ export default class StaticModel {
1111
return new this
1212
}
1313

14+
static config(config) {
15+
let self = this.instance()
16+
self.config(config)
17+
18+
return self
19+
}
20+
1421
static include(...args) {
1522
let self = this.instance()
1623
self.include(...args)

0 commit comments

Comments
 (0)