Fix Model.serialize return type (void => any).
This commit is contained in:
parent
683d8b39ee
commit
598f7babcd
1 changed files with 1 additions and 1 deletions
|
@ -219,7 +219,7 @@ export abstract class Model
|
|||
/**
|
||||
* Serialize the model.
|
||||
*/
|
||||
serialize(): void
|
||||
serialize(): any
|
||||
{
|
||||
// Creating a serialized object.
|
||||
const serializedObject: any = {};
|
||||
|
|
Loading…
Reference in a new issue