bafnetwork/baf-wallet-v2
Type checking when deserializing a string to an interface
Ouverte
#36 ouverte le 30 avr. 2021
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...