Type that depends on generic argument as value argument to function

后端 未结 0 748
孤独总比滥情好
孤独总比滥情好 2020-11-30 06:03

I have a generic type Group that looks like this:

// K -> Key
// I -> Input
type Group = {
    key: K;
    func: (i: I) => v         


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