Literal types are SO USEFUL in TS - Advanced TypeScript
Learn how let, const and 'as const' changes the way that TS infers your code. Become a TypeScript Wizard with Matt's upcoming TypeScript Course: https://www.totaltypescript.com/ Follow Matt on Twitter https://twitter.com/mattpocockuk