From 0840591d42c616ebf8436426f71c39e92747029d Mon Sep 17 00:00:00 2001 From: Timo Hocker Date: Sun, 17 May 2020 17:01:32 +0200 Subject: [PATCH] fix --- lib/Persistent.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Persistent.ts b/lib/Persistent.ts index f03bf51..89d2531 100644 --- a/lib/Persistent.ts +++ b/lib/Persistent.ts @@ -33,7 +33,7 @@ export abstract class Persistent implements Assignable, Serializable { } public to_object (): Record { - return copy_object (this._data); + return copy_object (this._data) as Record; } public serialize (formatted = false): string {