Why TypeScript use intersection type in function overload?

前端 未结 0 707
自闭症患者
自闭症患者 2020-12-19 07:09

Here I want to do a function overload, but TS does an intersection type in the params of onChange, how to get it right?

type ArrayType = { type:          


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