export class Helper { jQuery.each<string>(array, (index) => {item. <--- No Intellisense prompt for Item or Continue here. }我正在创建一个helper类,它包含一个回调,正如您在回调中看到的那样,它正在发送一个具有两个属性</em
我在javascript的普通类中有一个jquery类。可以从jquery类中的回调函数访问父类范围内的变量吗?this.status = "complete"; //this needs to update the parent class };现在在上面的例子中,回调函数尝试访问jquery对象的