深度Partial. TS内置了一个 Partial 类型,用于把一个类型的成员属性设置为成可选模式,例如. type Person = { name: string; age: number; }.
確定! 回上一頁