This commit is contained in:
Timo Hocker 2020-05-17 17:01:32 +02:00
parent 434da3ce20
commit 0840591d42

View File

@ -33,7 +33,7 @@ export abstract class Persistent implements Assignable, Serializable {
} }
public to_object (): Record<string, PersistentType> { public to_object (): Record<string, PersistentType> {
return copy_object (this._data); return copy_object (this._data) as Record<string, PersistentType>;
} }
public serialize (formatted = false): string { public serialize (formatted = false): string {