Type interference of overloaded function

后端 未结 0 363
迷失自我
迷失自我 2020-12-08 00:56

I have an instance of the following class:

// Interface from library
interface EventEmitter {
  on(eventName: \'click\', handler: () => void): void
  on(ev         


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