mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-17 15:23:36 +01:00
Enable tsconfig noUncheckedIndexedAccess
This commit is contained in:
@@ -46,7 +46,8 @@ export class BackOff {
|
||||
) {}
|
||||
|
||||
public get(): number {
|
||||
let result = this.timeouts[this.#count];
|
||||
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
||||
let result = this.timeouts[this.#count]!;
|
||||
const { jitter = 0, random = DEFAULT_RANDOM } = this.options;
|
||||
|
||||
// Do not apply jitter larger than the timeout value. It is supposed to be
|
||||
|
||||
Reference in New Issue
Block a user