You can actually declare optional properties within the typescript interface that do not need to be declared by the object with that interface type as follows:-
interface laptop { brand : string; user? : string; year? : number; }
Now the object with that type of interface does not need to declare the properties of the interface with ‘?’ symbol in front of them if that object does not want to.
let laptop1 : laptop = { brand : "Dell", }