Narrowing index typed object of any

后端 未结 0 1687
天涯浪人
天涯浪人 2021-02-02 14:12

I have an index typed object of any and I want to narrow it down.

It seems like union type can be narrowed down. Is it possible for any type also?



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