Fix Model.serialize return type (void => any).
This commit is contained in:
parent
683d8b39ee
commit
598f7babcd
@ -219,7 +219,7 @@ export abstract class Model
|
||||
/**
|
||||
* Serialize the model.
|
||||
*/
|
||||
serialize(): void
|
||||
serialize(): any
|
||||
{
|
||||
// Creating a serialized object.
|
||||
const serializedObject: any = {};
|
||||
|
Reference in New Issue
Block a user