阅读背景:

typescript的ajax同步,javascript - Using jQuery (ajax) with TypeScript - Stack Overflow_张林威的博客

来源:互联网 

I have installed the jQuery typings in my TypeScript project. I can type $.ajax(...) without any compile errors in VS Code. However, when I check it in localhost, I get an error saying that "$ is not defined". I tried to fix it by importing jQuery like so:I have installed the jQuery typings in my T




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: