How to create a function type which takes generic as parameter and has a return type dependent on the properties of the parameter

前端 未结 0 661
孤街浪徒
孤街浪徒 2021-01-03 08:02

Sorry for the long and confusing title, but I\'m not sure exactly how to describe whats necessary in a way that would facilitate a shorter one.

Basically what I want

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