bafnetwork/baf-wallet-v2

Type checking when deserializing a string to an interface

Open

#36 opened on Apr 30, 2021

 (0 comments) (0 reactions) (0 assignees)TypeScript (0 forks)auto 404
good first issuehygiene

Repository metrics

Stars
 (4 stars)
PR merge metrics
 (PR metrics pending)

Description

  • 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...

Contributor guide