BaseEventIndexManager: Fix some type annotations.

This commit is contained in:
Damir Jelić 2019-11-18 10:26:17 +01:00
parent 5149164010
commit 910c3ac08d

View file

@ -159,8 +159,8 @@ export default class BaseEventIndexManager {
*/
async addHistoricEvents(
events: [HistoricEvent],
checkpoint: CrawlerCheckpoint | null = null,
oldCheckpoint: CrawlerCheckpoint | null = null,
checkpoint: CrawlerCheckpoint | null,
oldCheckpoint: CrawlerCheckpoint | null,
): Promise<bool> {
throw new Error("Unimplemented");
}