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

后端 未结 0 1589
野的像风
野的像风 2021-02-11 06:06

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:



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