How to extract type parameters from type alias & type arguments from generic instance?

后端 未结 0 1509
暗喜
暗喜 2020-12-20 10:35

Given this:

type Qux = {}
type Bar = Qux & B
export type Foo = Bar<1, 2>

How can we extract wit

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