[Cashtab] Convert Token, validation, and other deps to ts
Summary:
Convert Token screen to ts as prep for refactor to improve extensability to other token types.
Implement ts in deps important to this conversion. The Token screen is large and has lots of dependencies that needed to be typed.
- validation
- Inputs
- tweaks to useWallet and Alias
- token creation blacklist
It would be possible to split some off into separate diffs, but I think it's best to continue the "rip the bandaid off" approach of ts implementation.
Behavior is confirmed by tests. . This diff is not introducing any new functionality, only implementing typescript and patching minor type-related issues as they are uncovered.
Test Plan: npm test
Reviewers: #bitcoin_abc, emack
Reviewed By: #bitcoin_abc, emack
Subscribers: emack
Differential Revision: https://reviews.bitcoinabc.org/D17154