tsc:allowUnreachableCode, eslint:no-unreachable, assert->assertDev
This commit is contained in:
parent
f627a05cf8
commit
eb10aafd7c
57 changed files with 213 additions and 176 deletions
|
@ -35,7 +35,7 @@ import { ChallengeHandler } from './challenge';
|
|||
import * as durations from './util/durations';
|
||||
import { explodePromise } from './util/explodePromise';
|
||||
import { isWindowDragElement } from './util/isWindowDragElement';
|
||||
import { assert, strictAssert } from './util/assert';
|
||||
import { assertDev, strictAssert } from './util/assert';
|
||||
import { normalizeUuid } from './util/normalizeUuid';
|
||||
import { filter } from './util/iterables';
|
||||
import { isNotNil } from './util/isNotNil';
|
||||
|
@ -3359,7 +3359,7 @@ export async function startApp(): Promise<void> {
|
|||
data: MessageEventData,
|
||||
descriptor: MessageDescriptor
|
||||
) {
|
||||
assert(
|
||||
assertDev(
|
||||
Boolean(data.receivedAtCounter),
|
||||
`Did not receive receivedAtCounter for message: ${data.timestamp}`
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue