Type 'string | number | boolean' is not assignable to type 'undefined'. Type 'string' is not assignable to type 'undefined'.ts(2322)

前端 未结 0 1509
执念已碎
执念已碎 2020-12-30 13:27

I\'m trying to create a partial object that only has certain fields of the full object that meet a criteria. However, I get the subject typescript error message when I try

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