More on Interfaces and Generics
We’ve already talked about interfaces in TypeScript, some with our discussion on Custom Data Types. However, we can go further with what they can do. So we previously had an interface that looked something like: However, we might not want, or even need, all of those properties. Therefore, we can make some of them optional,…