Exercise #98: Return What I Pass In
TypeScript Generics ยท 01-generics-intro
Go back to exercises
Open in TypeScript Playground
Goal
Goal: Make the function generic so it returns the same type it receives.
Check Solution
Run "Check Solution" to validate your code in the browser.