In a generic class, method with signature '(…args: Parameters): void' allows instances of conflicting types to be assigned to each other

前端 未结 0 1344
一个人的身影
一个人的身影 2021-02-13 07:51

In TypeScript, I wrote a tiny Node style EventEmitter with a type parameter that describes the event names that the emitter can event as well as the type of the fun

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