Base JSON: serialise should return the template type.

master
Tom Hacohen 7 years ago
parent 3408e16013
commit 52f7d4ddd5

@ -89,7 +89,7 @@ class BaseJournal<T extends BaseJson> {
return this._json.uid;
}
serialize(): BaseJson {
serialize(): T {
return Object.assign(
{},
this._json,

Loading…
Cancel
Save