Link to history of angular-ui-router d.ts file using the commit hash
我的tsd.json文件中有以下内容 ``
{
"version": "v4",
"repo": "borisyankov/DefinitelyTyped",
"ref": "master",
"path": "typings",
"bundle": "typings/tsd.d.ts",
"installed": {
"jquery/jquery.d.ts": {
"commit": "93bae1bb4c887c1375a4c1f0c3bb849ff06b8ac6"
},
"angularjs/angular.d.ts": {
"commit": "93bae1bb4c887c1375a4c1f0c3bb849ff06b8ac6"
},
"angularjs/angular-route.d.ts": {
"commit": "6a6ad7068a177c0d7a8a20830626cb63277191c5"
},
"angularjs/angular-animate.d.ts": {
"commit": "6a6ad7068a177c0d7a8a20830626cb63277191c5"
},
"angularjs/angular-sanitize.d.ts": {
"commit": "6a6ad7068a177c0d7a8a20830626cb63277191c5"
},
"angularjs/angular-resource.d.ts": {
"commit": "1984ea435fe9e93a012d50db7773db58ae5d494b"
},
"angularjs/angular-mocks.d.ts": {
"commit": "d1f6bde13f2209be42e86c3686761e8bfcbb50a5"
},
"angular-ui-router/angular-ui-router.d.ts": {
"commit": "93bae1bb4c887c1375a4c1f0c3bb849ff06b8ac6"
}
}
}
`` 提交哈希是如何工作的?我试图用这样的提交哈希看到angular-ui-router类型定义文件。 https://github.com/DefinitelyTyped/DefinitelyTyped/commit/93bae1bb4c887c1375a4c1f0c3bb849ff06b8ac6 但这并没有引导我使用上面定义的哈希的angular-ui-router定义文件。看历史中的图像
所以每次进行tsd安装时,我每次都会获得相同的提交版本吗?
如果我想升级到新版本,我想运行tsd update angular-ui-router,我猜?
很抱歉这些问题,但我没有得到具体答案,我搜索了很多。 谢谢,
答案 0 :(得分:1)