可视代码绝对类型

时间:2016-01-22 09:16:07

标签: angularjs visual-studio-code

我的项目 Visual Studio Code v.1.10.6 使用Angular 1.4.x ES5

时遇到问题

。当我点击angular模块时,它会说:

typings/angularjs/angular.d.ts already exists. Make sure the file is included in the project's jsconfig.json

但是,我已经在项目的根目录中配置了我的json文件,如下所示。

jsconfig.json

{
    "exclude": [
        "node_modules"
    ],
    "file": "typings/tsd.d.ts"

}

tds.json

{
  "version": "v4",
  "repo": "borisyankov/DefinitelyTyped",
  "ref": "master",
  "path": "typings",
  "bundle": "typings/tsd.d.ts",
  "installed": {
    "angularjs/angular.d.ts": {
      "commit": "1cdd8bc01fc0bd0f22193e1dc9ad43635da4cd92"
    },
    "jquery/jquery.d.ts": {
      "commit": "1cdd8bc01fc0bd0f22193e1dc9ad43635da4cd92"
    }
  }
}

分型/ tsd.d.ts

/// <reference path="angularjs/angular.d.ts" />
/// <reference path="jquery/jquery.d.ts" />

我想知道我错过了什么?

提前致谢

0 个答案:

没有答案