💥 Typescript Type Aliases vs Interfaces - When to Use Which And Why?

in this lesson we're going to quickly talk about the difference between interfaces such as here the course interface and type alliances like we have covered on previous lessons so as you can see these are two different ways that the typescript language provides us for defining a custom object type as you can see we are defining here the type course using the type syntax so this is a type elias we are defining here three properties title subtitle and...
repotechsstarsweeklyforksweekly
arc53/DocsGPTPythonTypeScriptCSS11.7k+4.8k1.1k+364
usebruno/brunoJavaScriptTypeScriptOther5.1k+2.2k155+61
ToolJet/ToolJetJavaScriptTypeScriptSCSS24k+1.9k2.3k+117
appwrite/appwriteTypeScriptPHPOther36.8k+1.5k3.3k+105
novuhq/novuTypeScriptPythonJavaScript29.3k+1.5k2.5k+179
wasp-lang/waspTypeScriptJavaScriptCSS6.6k+1.2k276+26
teamhanko/hankoTypeScriptGoCSS4k+998140+19
jmorganca/ollamaGoTypeScriptShell9.3k+957499+49
CrowdDotDev/crowd.devTypeScriptVueJavaScript2.4k+753131+11
ArchGPT/insomniumJavaScriptTypeScriptCSS1.3k+60535+26