I\'m writing a grunt task in TypeScript. I\'m trying to translate something I already have in JavaScript.
So, when grunt runs a task, it runs a function. When it ru
I have a bit of an answer. I can do this;
var self = >this; self.files.forEach(function (f) { });
which works OK. It's gonna have consequences, like not being able to write arrow functions...