TypeScript: How to initialise a member of a Generic class that depends on T?

后端 未结 0 1084
轮回少年
轮回少年 2021-02-01 17:44

I have an interface which defines MyType as containing some functions:

interface MyType {
  function1(): void,
  function2(): void,
}
<
相关标签:
回答
  • 消灭零回复
提交回复
热议问题