bafnetwork/baf-wallet-v2

Type checking when deserializing a string to an interface

Ouverte

#36 ouverte le 30 avr. 2021

 (0 commentaire) (0 réaction) (0 personne assignée)TypeScript (0 fork)auto 404
good first issuehygiene

Métriques du dépôt

Stars
 (4 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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

Guide contributeur