Difference between extending and intersecting interfaces in TypeScript?
Have you ever found yourself thinking in a complex project asking this question, then in this article I will try to answer with examples
Let's say the following type is defined:
interface Shape {
color: string;
}
Now, maybe we need a way to abstra...
blog.allaroundjavascript.com3 min read