Exercise #126: Function Overloads Vs Union Types
TypeScript Generics ยท 05-function-overloads
Go back to exercises
Goal
Goal: Type the parameter as either a function or an object with a `run` method.
Check Solution
Next
Run "Check Solution" to validate your code in the browser.