bafnetwork/baf-wallet-v2
Type checking when deserializing a string to an interface
Aberta
#36 aberto em 30 de abr. de 2021
good first issuehygiene
Métricas do repositório
- Stars
- (4 estrelas)
- Métricas de merge de PR
- (Nenhuma PRs mesclada em 30d)
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...