Exercise #113: Array Or Array Member In Generics
TypeScript Generics ยท 03-art-of-type-arguments
Go back to exercises
Open in TypeScript Playground
Goal
Goal: Use a generic for the element type so the return is an array of the union of statuses.
Check Solution
Run "Check Solution" to validate your code in the browser.