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
shadcn-ui/uiTypeScriptMDXCSS32.5k+6141.6k+32
ToolJet/ToolJetJavaScriptTypeScriptSCSS21.7k+5832.2k+57
oven-sh/bunZigC++TypeScript63.6k+5351.9k+34
appwrite/appwriteTypeScriptPHPOther34.6k+5153.2k+53
amplication/amplicationTypeScriptSCSSHTML12.3k+5141.2k+71
wasp-lang/waspTypeScriptJavaScriptCSS5k+504239+12
abpframework/abpC#TypeScriptHTML11.4k+5023.2k+27
kamranahmedse/developer-roadmapTypeScriptAstroJavaScript252.3k+49135k+40
yangshun/tech-interview-handbookTypeScriptJavaScriptPython95.8k+46812.4k+69
teamhanko/hankoTypeScriptGoCSS2.7k+433120+5