Advanced Types
TLTR; Typescript \ Dynamic Types

Advanced Types

Let’s review 4 of the most advanced TypeScript features, that let you automatically generate types on the fly. Instead of creating manually your types, you can use these features to instruct TypeScript on what you want to reuse from your existing types. Did you know that the typeof keyword behaves differently on TypeScript? We will also learn about the keyof operator, lookup types and the keyword infer. Use these features in your generic types, to automate your workflow.

✍️ Read the article.