How to combine two objects of different types in TypeScript?

前端 未结 0 1271
感动是毒
感动是毒 2020-11-22 10:14

Input

a = {p:"1", f:"2"}

b = {"3","5"}

I want the result like:

a ={p:"1", f         


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