From 73b302f43288e062fd1bb96a7d4972416115329e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Tue, 19 Nov 2019 12:43:43 +0100 Subject: [PATCH] ElectronPlatform: Fix some type annotations. --- src/vector/platform/ElectronPlatform.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vector/platform/ElectronPlatform.js b/src/vector/platform/ElectronPlatform.js index 6a0e7a0c78..ff73725648 100644 --- a/src/vector/platform/ElectronPlatform.js +++ b/src/vector/platform/ElectronPlatform.js @@ -131,8 +131,8 @@ class SeshatIndexManager extends BaseEventIndexManager { async addHistoricEvents( events: [HistoricEvent], - checkpoint: CrawlerCheckpoint | null = null, - oldCheckpoint: CrawlerCheckpoint | null = null, + checkpoint: CrawlerCheckpoint | null, + oldCheckpoint: CrawlerCheckpoint | null, ): Promise<> { return this._ipcCall('addHistoricEvents', events, checkpoint, oldCheckpoint); }