How to provide type-saferty for the objects with many properties in TypeScript without type annotation omitting?

后端 未结 0 385
走了就别回头了
走了就别回头了 2021-01-11 09:45

My issue AsValue utility type feature request in TypeScript repository has been declined and Nov 2020. I expected the below API:



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题