Typescript: Inference of generic argument type that is parametrized with another type

前端 未结 0 1623
故里飘歌
故里飘歌 2021-01-19 19:19

Consider the following code:

type A = string

interface Funcs
{
  connect : (a : MyA) => any
}
         


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