4 ms·
Check out the option "noImplicitThis" in TS2, for this exact case. It will ban using `this` when it's implicitly `any`. I agree that it was much needed!
by farnsworth 10y ago
Check out the option "noImplicitThis" in TS2, for this exact case. It will ban using `this` when it's implicitly `any`. I agree that it was much needed!
- ridiculous_fish 10y agoGreat addition! Thanks for pointing it out.