Typescript: Conditional types
How to create a conditional types in Typescript
Tags: typescript, conditional, infer