我在打字稿上遇到了这个问题。
在我的文件中,我开始:
/// <reference path="jquery.d.ts" />
/// <reference path="../../js/lib/Wf.Ajax.Client.js"/>
declare var $;
module Wf{
export module utilities{
export class CodesList{
private client;
constructor(){
this.client = new Wf.Ajax.Client();
}
}
}
}
这给了我错误Unresolved variable ajax
有谁知道我该如何解决这个问题?