Template String Sorts as Discriminants in Typescript 4.5 Typescript 4.5 was simply launched and one of many options that stood out to me is the Template String Sorts as Discriminants. On this article, we’re going to discover this new function utilizing rudimentary examples. In my final article, we lined utilizing discriminated unions to put in…

Read More