Intersecting keys in Typescript

后端 未结 0 1965
别跟我提以往
别跟我提以往 2020-12-28 16:44

I would like to write a type-safe utility function for comparison of properties of 2 given objects in Typescript 4.0. My initial attempt is as following:



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