TypeScript hace que el objeto sea opcional

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