bafnetwork/baf-wallet-v2

Type checking when deserializing a string to an interface

Offen

#36 geöffnet am 30.04.2021

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)TypeScript (0 Forks)auto 404
good first issuehygiene

Repository-Metriken

Stars
 (4 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

  • 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