Understanding the TypeScript `infer` keywordIn TypeScript, there are some types that are composed of multiple other types. We can refer to them as compound types. A promise for example, is a compound type because it’s composed of two types. The first being the Promise itself, and the second be...7 min read·ifeanyiisitor.hashnode.devNov 1, 2022