Unable to access property from conditional typing

前端 未结 0 925
庸人自扰
庸人自扰 2021-02-02 12:37

I want to have a function named Control that can be overloaded with props of two different types. This is the code I wrote. But it throws an error while trying to a

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