u/carlos-algmsin r/typescript • Recommends
On “Trying to come up with a good, clear, one sentence rule for when to use interfaces vs type-aliases.”
#typescript#interfaces#typealiases
429K subscribers • 8 videos on Hallway
Intermediate. Assumes working knowledge.
97K views1 year ago4 recommendations
Programming languagesTypeScript
Matt Pocock explains why he changed his mind on using types versus interfaces in TypeScript, focusing on performance and usability.
AI Hero: aihero.dev/ Total TypeScript: totaltypescript.com/ Types Vs Interfaces: totaltypescript.com/type-vs-interface-which-should-you-use Become a TypeScript Wizard with my free beginners TypeScript Course: totaltypescript.com/tutorials/beginners-typescript Follow Matt on Twitter twitter.com/mattpocockuk Join the Discord: mattpocock.com/discordWhat people say. Recommended as an updated guide on when to use interfaces instead of type aliases in TypeScript.
u/carlos-algmsin r/typescript • Recommends
On “Trying to come up with a good, clear, one sentence rule for when to use interfaces vs type-aliases.”
u/CodeAndBiscuitsin r/typescript • Recommends
On “Can you distribute and use TS sources as declarations and avoid generating d.ts files?”
u/jarzebowskyin r/typescript • Recommends
On “Coding in Typescript”
u/ORCANZin r/typescript • Recommends
On “Has the debate settled between types and interfaces? Are there any concrete rules of thumb about use cases?”
u/Caramel_Lastin r/typescript • Mentions
On “TypeScript Interface vs Type: Differences and Best Use Cases”
u/Merry-Lanein r/typescript • Mentions
On “Trying to come up with a good, clear, one sentence rule for when to use interfaces vs type-aliases.”