VS 2017找不到时刻,JQueryPromise,JQueryEventObject& JQueryAjaxSettings

时间:2018-02-14 07:09:56

标签: c# asp.net visual-studio typescript asp.net-core

我的ASP网络核心项目有问题,我只是从bower添加adminLTE,并更新一些bower安装包,更新和安装后我已经遇到错误

已尝试在我的项目中添加tsconfig.json

TSCONFIG.JSON:

 {
  "compileOnSave": true,
  "compilerOptions": {
    "noImplicitAny": false,
    "noEmitOnError": true,
    "sourceMap": true,
    "target": "es6",
    "module": "amd",
    "allowJs": false,
    "allowSyntheticDefaultImports": true
  }
}

错误:

Sample error

2 个答案:

答案 0 :(得分:0)

TypeScript适用于NPM,通过它安装的软件包可以通过typescript自动找到。如果您使用bower,则应手动从源目录下的这些库中复制d.ts文件。

答案 1 :(得分:0)

排除该插件,它将是executed successfully。它为我工作。右键点击该插件(Ex:fullycalendar.d.ts),然后点击Exclude from project.