bafnetwork/baf-wallet-v2

Type checking when deserializing a string to an interface

Aperta

#36 aperta il 30 apr 2021

 (0 commenti) (0 reazioni) (0 assegnatari)TypeScript (0 fork)auto 404
good first issuehygiene

Metriche repository

Star
 (4 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

  • It would be nice if we had some type checking when desalinizing from a JSON string. This would especially be nice in avoiding undefined behavior with approve redirect
  • We could use a library like ts-interface-checker but this would require setting up some additional tooling
  • May be worth it in the end though...

Guida contributor