You’ve also switched from an arrow function to a function statement here.
Dan Vanderkam
782

I wasn’t aware you could use type parameters with arrow functions in TypeScript. Thanks. I’ll give that a try. =)

Like what you read? Give Eric Elliott a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.