Fix Model.serialize return type (void => any).

This commit is contained in:
Madeorsk 2022-08-03 14:24:12 +02:00
parent 683d8b39ee
commit 598f7babcd

View file

@ -219,7 +219,7 @@ export abstract class Model
/**
* Serialize the model.
*/
serialize(): void
serialize(): any
{
// Creating a serialized object.
const serializedObject: any = {};