Exercise #35: Distributive Conditional Types
Type Transformations ยท 04-conditional-types-and-infer
Go back to exercises
Open in TypeScript Playground
Goal
Goal: Use a distributive conditional type to filter a union down to just "apple" | "banana".
Check Solution
Run "Check Solution" to validate your code in the browser.