Thank you very much for such a useful article! I'd like to contribute to it - I think there is a couple of typos in it (correct me if I'm wrong, but I think those are typos):
though that I would be able to find where the error Object is possibly 'null' is thrown and change it for one of the others errors when the object is a function.
though → thought
when the object is a function → when the object is not a function.
Founder & CEO @ Wolk Software | EP @ JSConfIE | Former TypeScript Microsoft MVP, writer, speaker technology-lover and OSS enthusiast. Author of InversifyJS.
Thank you very much for such a useful article! I'd like to contribute to it - I think there is a couple of typos in it (correct me if I'm wrong, but I think those are typos):
though
→ thought
when the object is a function
→ when the object isnot
a function.Thanks, I have updated it :)