define type of second parameter as generic class according to the first parameter of function

后端 未结 0 1451
抹茶落季
抹茶落季 2021-01-19 07:37

considering the example below, the second parameter of fn function has the type Base, so is needed a class that contains an static attribute

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