Exercise #124: Function Overloads Vs Conditional Types
TypeScript Generics ยท 05-function-overloads
Go back to exercises
Open in TypeScript Playground
Goal
Goal: Add overloads so each input literal maps to the opposite literal output.
Check Solution
Run "Check Solution" to validate your code in the browser.