Why is looking up a mapped object type causing an intersection type?

后端 未结 0 1347
伪装坚强ぢ
伪装坚强ぢ 2020-12-22 10:52

Here\'s what I\'m doing:

type PossibleTypes = "foo" | "bar"; 

type Item = {
    id: T; 
           


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