Exercise #28: Conditional Types
Type Transformations ยท 04-conditional-types-and-infer
Go back to exercises
Open in TypeScript Playground
Goal
Goal: Use a conditional type to swap between "hello" and "goodbye".
Check Solution
Run "Check Solution" to validate your code in the browser.