wallet._isWalletType
/isWalletType(wallet)
-style type guards are verbose and redundant
#466
Labels
tech-debt
A suboptimality that existed in code when it was written.
Milestone
The standard
instanceof
type guard provides all the utility these guards provide, and requires no extra manually-added (and manually-maintained) type information. Removing them will simplify the library API and the implementation of new wallets.wallet._isWalletType
/isWalletType(wallet)
-style type guards with usage ofinstanceof
.Fixed by #435.
The text was updated successfully, but these errors were encountered: