Typescript - Type alias 'T' circularly references itself?-灵析社区

萌蒙萌

type TPartial = { info: string }; type AtLeastOne = K extends unknown ? Pick & Partial> : never; type TRequired = { id: string } & { children: Record }; type T = Partial & AtLeastOne;

阅读量:1

点赞量:0

问AI