An Introduction to TypeScript Interfaces

How to extend interfaces and write interfaces that extend classes

John Au-Yeung
Better Programming
Published in
5 min readJan 28, 2020

--

Photo by Natalia Y on Unsplash

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…

--

--