Interfaces

Describe the shape of an object with a TypeScript interface so the compiler checks every object against it, knowing that interfaces disappear from the compiled JavaScript.

Updated

Cheat sheet: Interfaces
Category
TypeScript
Level
Apprentice
Tags
Interface (typescript), typescript