How to add types to an interface from another interface or extend types in TypeScript?
Originally Published Here ๐!
To add types to an interface from another interface (aka extending the types) in TypeScript, you can use the extends keywords after the interface name followed by the name of the interface to get the types from.
TL;DR
//...
melvingeorge-me.hashnode.dev2 min read