HIDE PLAYLIST

Using Interfaces to Describe Types in TypeScript


It’s easy to pass the wrong value to a function. Typescript interfaces are great because they catch errors at compile time or in an IDE. In this lesson we’ll learn how to describe a type shape with Typescript interfaces.