fix: property mixin must call super ctor with args
This commit is contained in:
parent
22fe6261b8
commit
5e4fde6642
|
@ -49,8 +49,8 @@ export function PropertyMixin(key, meta = {}) {
|
|||
|
||||
class Property extends Superclass {
|
||||
|
||||
constructor() {
|
||||
super();
|
||||
constructor(...args) {
|
||||
super(...args);
|
||||
if (undefined !== metaDefault) {
|
||||
meta.set.call(this, metaDefault);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user