Can typescript handle dynamic return type NOT based on a function param?

后端 未结 0 1308
别那么骄傲
别那么骄傲 2020-12-21 23:25

I now how to handle dynamic type checking using a param type but I\'m stuck with this one. It may be not possible, but I can\'t think straight anymore so any help is welcome

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