HomePhabricator

[ecash-agora] ts linting in agora.ts

Description

[ecash-agora] ts linting in agora.ts

Summary:
typescript does not like while (true). Apparently this is the "right way" to "do something forever"

https://eslint.org/docs/latest/rules/no-constant-condition

use const instead of let for a constant

Test Plan: npm test and CI

Reviewers: #bitcoin_abc, emack

Reviewed By: #bitcoin_abc, emack

Differential Revision: https://reviews.bitcoinabc.org/D16928

Details

Provenance
bytesofmanAuthored on Oct 18 2024, 11:06
bytesofmanPushed on Oct 18 2024, 13:20
Reviewer
Restricted Project
Differential Revision
D16928: [ecash-agora] ts linting in agora.ts
Parents
rABC3b3a67ad3e6d: [mock-chronik-client] Extend MockAgora support
Branches
Unknown
Tags
Unknown