satisfies operator // New to TypeScript 4.9

typescript 4.9 comes with the new language operator called satisfies which fixes a long-standing hack that I've used to ensure correctness of my code so let's take a look consider the simplified example where we might have color represented as a well-defined string or a tuple of RGB values and this is something that is common in a lot of CSS in JS libraries now we want to use these color values in a theme and we don't really care what keys you u...
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