Typescript return type specific components or null

前端 未结 0 836
走了就别回头了
走了就别回头了 2021-01-14 03:18

So, I have one function that returns an array.map, and this map should return null or one of two elements (has to be them because they are part of a parent component outside

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