typescript nested generic type

后端 未结 0 1435
野的像风
野的像风 2020-11-30 02:15

I have been using the following function for a while but I want to make it type safe:

function mappedBy(models, mapper, ...fields) {

  if (!mapper) {
    map         


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