Type inference lost when destructuring

前端 未结 0 769
遇见更好的自我
遇见更好的自我 2020-11-27 20:53

I\'m trying to create a helper function in Typescript 4.1.2 that would return an object with the specified properties initialized to some values, but type inference does not

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