我正在使用打字稿创建一个crud, 我刚刚开始打字稿并且对打字稿没有任何了解。
的帮助下创造了一团糟这里我的api部分准备就绪,当我开始使用打字稿时,
我在这一行上收到错误
我的整个代码块
/// <reference path="typings/jquery/jquery.d.ts" />
module StudentModule {
export class Student {
Id: number;
Fname: string;
Lname: string;
Address: string;
}
customer(callback: any) {
$.getJSON("api/customers", callback);
}
}
这里有什么问题,
并且,任何人都可以建议我更好地运行crud操作吗?
答案 0 :(得分:0)
如果客户与学生班级分开,则您的代码应为:
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --proxy-server='p-uk1.biscience.com:80'
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --proxy-server='http=p-uk1.biscience.com:80;https=p-uk1.biscience.com:80'