Updating sub properties of Partial object

前端 未结 0 1395
一生所求
一生所求 2020-11-27 05:59

I have a Partial object which has potentially undefined sub-properties I would like to update.

interface Foo {
    data?: string
    otherData?: string
}
inte         


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