bafnetwork/baf-wallet-v2

Type checking when deserializing a string to an interface

开放

#36 创建于 2021年4月30日

 (0 条评论) (0 个反应) (0 位负责人)TypeScript (0 个派生)auto 404
good first issuehygiene

仓库指标

星标
 (4 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南