Eric Elliott: Turns out that you were correct; I punted and used any ; felt dirty. AND.. When I went back into my article, I realized my map function was not even returning a functor (YIPES).

I corrected my article (THANKS FOR PUSHING ME), and believe I now have a fully functional functor example (with a properly working map).

https://codeburst.io/functional-patterns-with-typescript-7fdb4d6afe8a

Written by

Broad infrastructure, development, and soft-skill background

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store