Generic parameter in conditional type produces unexpected variance

后端 未结 0 415
悲&欢浪女
悲&欢浪女 2020-12-28 23:07

Given the following code, I expect it to compile without errors:

type Immutable = T extends object 
    ? { re         


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