Typescript narrow down type based on class property (from .filter, .find, etc.)

前端 未结 0 1450
一向
一向 2020-12-14 02:13

I want to narrow down type based on the class property when calling array .filter or .find

cl         


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