I am translating a huge AMD JS project to TypeScript and I have noticed I have problems with the following things:
- keyword
function
introduces a lot of problems because of "this" scope. I always replace allfunctions
with arrow style functions - class methods - if a pointer to a method is sent as a parameter to another function and then called - it is also problematic, so I replace those with arrow functions as well.
I mean, when I do it - there is no problem whatsoever. But my issue is that sometimes I forget to do it and TS never shows me any error, because as a matter of fact it's not a error. So is it possible to make TS show me a warning in those cases?