bafnetwork/baf-wallet-v2

Type checking when deserializing a string to an interface

オープン

#36 opened on 2021/04/30

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)TypeScript (0 件のフォーク)auto 404
good first issuehygiene

Repository metrics

Stars
 (4 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド