How to create a default for a generic parameter of a type?

前端 未结 0 349
逝去的感伤
逝去的感伤 2021-01-26 11:11

How would you build a type like the following:

type T = ...

so that you can consume it as T instead of always

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