Skip to content

Commit 71023ae

Browse files
committed
ElectronPlatform: Fix lint errors.
1 parent 1dbdd0a commit 71023ae

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎src/vector/platform/ElectronPlatform.js‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -294,15 +294,15 @@ export default class ElectronPlatform extends VectorBasePlatform {
294294
}
295295
}
296296

297-
async initEventIndex(user_id: string): void {
298-
return this._ipcCall('initEventIndex', user_id);
297+
async initEventIndex(userId: string): void {
298+
return this._ipcCall('initEventIndex', userId);
299299
}
300300

301301
supportsEventIndexing(): boolean {
302-
return true
302+
return true;
303303
}
304304

305-
async addEventToIndex(ev: {}, profile: {}) {
305+
async addEventToIndex(ev: {}, profile: {}): void {
306306
return this._ipcCall('addEventToIndex', ev, profile);
307307
}
308308

@@ -318,7 +318,7 @@ export default class ElectronPlatform extends VectorBasePlatform {
318318
return this._ipcCall('searchEventIndex', term);
319319
}
320320

321-
async addHistoricEvents(events: string, checkpoint = null, oldCheckpoint = null): Promise<{}> {
321+
async addHistoricEvents(events: string, checkpoint: {} = null, oldCheckpoint: {} = null): Promise<{}> {
322322
return this._ipcCall('addHistoricEvents', events, checkpoint, oldCheckpoint);
323323
}
324324

0 commit comments

Comments
 (0)