From 598f7babcdca99f6e3ab80288cf2c1dff940a566 Mon Sep 17 00:00:00 2001 From: Madeorsk Date: Wed, 3 Aug 2022 14:24:12 +0200 Subject: [PATCH] Fix Model.serialize return type (void => any). --- src/Model/Model.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/Model.ts b/src/Model/Model.ts index d6f91cc..f3a0f18 100644 --- a/src/Model/Model.ts +++ b/src/Model/Model.ts @@ -219,7 +219,7 @@ export abstract class Model /** * Serialize the model. */ - serialize(): void + serialize(): any { // Creating a serialized object. const serializedObject: any = {};