typescript issue while accessing object and error is expression of type string cant be used to index type

前端 未结 0 1729
挽巷
挽巷 2020-12-16 22:59

Trying to sort in descending/ascending/default and there are some type error, unable to solve the issue when accessing like sortTypes[currentSort].fn and how can i resolve t

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