Get rid of the Observable class

This commit is contained in:
barsdeveloper
2023-01-02 00:46:07 +01:00
parent 392ada36ce
commit f4ebfa488a
6 changed files with 70 additions and 282 deletions

View File

@@ -1,4 +1,3 @@
import Observable from "../Observable"
import SerializerFactory from "../serialization/SerializerFactory"
import SubAttributesDeclaration from "./SubObject"
import UnionType from "./UnionType"
@@ -28,7 +27,7 @@ import Utility from "../Utility"
* @typedef {(new () => T) | EntityConstructor | StringConstructor | NumberConstructor | BooleanConstructor | ArrayConstructor} AnyValueConstructor
*/
export default class IEntity extends Observable {
export default class IEntity {
/** @type {AttributeDeclarations} */
static attributes = {}
@@ -40,7 +39,6 @@ export default class IEntity extends Observable {
}
constructor(values = {}, suppressWarns = false) {
super()
/**
* @param {Object} target
* @param {Object} attributes