我将在TS文件中使用jquery。当我使用jquery时,VS会在'$‘下划线,并说找不到名称,也不会成功构建。它构建的唯一方法是在每个TS文件中添加对jquery类型的引用。Assumes that tsc has been installed using npm install -g typescript
// The
更新ts-loader: Using typescript@2.4.1 and E:\learning-typescript-by-examples\node_modules\@types\jquery]
[E:\learning-typescript-by-examples\node_modules\@types\jquery.webpac