Understanding Types Merging in The Typescript

后端 未结 0 1377
慢半拍i
慢半拍i 2020-11-30 07:24

I am new to typescript and I have seen in many projects they are using the following type

  1. TypeA | TypeB
  2. TypeA & TypeB
  3. TypeA | (TypeB &
相关标签:
回答
  • 消灭零回复
提交回复
热议问题