MediumConceptTypeScript
What are generics and why use them?
This answer is part of Pro
58 of 359 Frontend answers are free. A Pro pass opens the rest, including hands-on task steps.
PreviousWhat is the difference between any, unknown and never?Next Explain type narrowing and discriminated unions.