Question 9 of 10Pro Only
Explain conditional types in TypeScript. How do you use the "infer" keyword and what are mapped types?
Sample answer preview
## Advanced TypeScript Types TypeScript's type system includes powerful features for creating types that depend on other types. Let's explore conditional types, the infer keyword, and mapped types.
conditional typesinfermapped typeskeyofextendsdistributive