0
我遇到与打字稿的这个问题。不包括外部脚本
在我的文件,我开始有:
/// <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
有谁知道我怎么能解决这个问题呢?
可能重复[TypeScript:使用jQuery导致ReferrenceError](http://stackoverflow.com/questions/19494197/typescript-using-jquery-causes-an-referrenceerror) – WiredPrairie