prevent creation of _defineProperty() function

This commit is contained in:
djmaze 2021-03-16 16:08:01 +01:00
parent eff92c3152
commit 986b8f056b
8 changed files with 24 additions and 57 deletions

View file

@ -23,14 +23,13 @@ function typeCast(curValue, newValue) {
}
export class AbstractModel {
subscribables = [];
constructor() {
/*
if (new.target === AbstractModel) {
throw new Error("Can't instantiate AbstractModel!");
}
*/
this.subscribables = [];
}
addObservables(observables) {