📜  typescript 使对象可选 - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:17.155000             🧑  作者: Mango

代码示例1
objectName: Partial; //this will make all properties of ObjectType optional
objectName?: ObjectType; //this will make the ObjectName property of type ObjectType optional