Find type parameter of generic function in typescript

后端 未结 0 543
执笔经年
执笔经年 2021-01-04 20:00

recently I\'ve came up upon an interesting issue. Say I have a generic function, how could I receive the type of it\'s type parameter (type of \'T\'), similarly to Parameter

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