How to create and pass a generic type to a function at the call site?

后端 未结 0 562
时光说笑
时光说笑 2021-02-11 05:44

In order to assert on an unknown type, I\'m trying to use the standard generic type declaration syntax at the callsite,

But it\'s linting in a couple places:



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