An Introduction to TypeScript Interfaces
How to extend interfaces and write interfaces that extend classes
Published in
5 min readJan 28, 2020
The big advantage of TypeScript over plain JavaScript is that it extends the features of JavaScript by adding features that ensure type safety of our program’s objects.
It does this by checking the shape of the values that objects take on. Checking the shape is…