In TypeScript, interfaces and types are often interchangeable


In TypeScript, interfaces and types are often interchangeable.

But these are 6 features that only work with a type alias.

Clip from "TypeScript: Getting Started" on Dometrain
Full course with a 20% discount: https://dometrain.com/course/getting-started-typescript/?coupon_code=TYPESCRIPT20&ref=cory-house&promo=twitter

View original on X