TypeScript faire un objet facultatif

objectName: Partial<ObjectType>; //this will make all properties of ObjectType optional
objectName?: ObjectType; //this will make the ObjectName property of type ObjectType optional
Fancy Flatworm