In Typescript, how to understand 'extends' of union types?

后端 未结 0 515
情深已故
情深已故 2020-12-01 14:57

Here is my try:

type Comb1 = "123" | "1234";
type Comb2 = "123" | "1234" | "12345";

type Res =          


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