Fix setTimeout/setInterval typing

This commit is contained in:
Michael Telatynski 2021-07-12 09:02:46 +01:00
parent 9b7697c530
commit a645cebb49
11 changed files with 13 additions and 13 deletions

View file

@ -46,8 +46,8 @@ export class DecryptionFailureTracker {
};
// Set to an interval ID when `start` is called
public checkInterval: NodeJS.Timeout = null;
public trackInterval: NodeJS.Timeout = null;
public checkInterval: number = null;
public trackInterval: number = null;
// Spread the load on `Analytics` by tracking at a low frequency, `TRACK_INTERVAL_MS`.
static TRACK_INTERVAL_MS = 60000;