Value not assignable to conditional type while assignable to each type individually

前端 未结 0 1916
别跟我提以往
别跟我提以往 2020-12-13 00:09

I have a function with a boolean type parameter to toggle, whether the returned type is some "base" or "derived" type. Now, in the body I always return a

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