From 52f7d4ddd5bd76d83da123677cddebad055affc6 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Tue, 26 Dec 2017 15:48:40 +0000 Subject: [PATCH] Base JSON: serialise should return the template type. --- src/api/EteSync.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/EteSync.ts b/src/api/EteSync.ts index 893cafa..619105e 100644 --- a/src/api/EteSync.ts +++ b/src/api/EteSync.ts @@ -89,7 +89,7 @@ class BaseJournal { return this._json.uid; } - serialize(): BaseJson { + serialize(): T { return Object.assign( {}, this._json,