People often ask me ( online, at work, in skatepark (nope 😂) ), what’s the difference between using type and interface for defining compile time types within TypeScript. First thing I used to do, was pointing them to TypeScript handbook… Unfortunately most of the time, they didn’t find the droids that they were looking for ( it’s hidden within Advanced Types section). Even if they found it, the i
![Interface vs Type alias in TypeScript 2.7](https://cdn-ak-scissors.b.st-hatena.com/image/square/e06a1462f9ed74b7023b19b41fe61d4f9e0329b6/height=288;version=1;width=512/https%3A%2F%2Fmiro.medium.com%2Fv2%2Fresize%3Afit%3A1200%2F1%2Ac7NX0rtwapsb_lVRCk1C-A.png)