Declared optional properties within TypeScript interface
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:- 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…
Read More “Declared optional properties within TypeScript interface” »