HomePhabricator

[Cashtab] Implement typescript

Description

[Cashtab] Implement typescript

Summary:
Commence converting Cashtab to typescript by updating 2 simple files, appConfig and formatting. 2 files because formatting has functions, which are unit-tested, so we can confirm the implementation does not break jest --- and formatting imports appConfig. Seemed like the smallest possible change.

Update linters and webpack settings to support ts

Going forward, will be a big process to get Cashtab fully converted. But we can now use typescript for any new developments. It's particularly important for working with agora and chronik-client.

Test Plan: npm test, npm run build works

Reviewers: #bitcoin_abc, emack

Reviewed By: #bitcoin_abc, emack

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

Details

Provenance
bytesofmanAuthored on Oct 31 2024, 14:02
bytesofmanPushed on Nov 2 2024, 03:11
Reviewer
Restricted Project
Differential Revision
D17053: [Cashtab] Implement typescript
Parents
rABCb27c743f6c10: [ecash-agora] Add validation to _acceptTxBuilder to prevent creation of…
Branches
Unknown
Tags
Unknown