ElectronPlatform: Fix some type annotations.

This commit is contained in:
Damir Jelić 2019-11-19 12:43:43 +01:00
parent 4a25252626
commit 73b302f432

View File

@ -131,8 +131,8 @@ class SeshatIndexManager extends BaseEventIndexManager {
async addHistoricEvents( async addHistoricEvents(
events: [HistoricEvent], events: [HistoricEvent],
checkpoint: CrawlerCheckpoint | null = null, checkpoint: CrawlerCheckpoint | null,
oldCheckpoint: CrawlerCheckpoint | null = null, oldCheckpoint: CrawlerCheckpoint | null,
): Promise<> { ): Promise<> {
return this._ipcCall('addHistoricEvents', events, checkpoint, oldCheckpoint); return this._ipcCall('addHistoricEvents', events, checkpoint, oldCheckpoint);
} }