2016-05-30 78 views
2

我试图让ngCordova分型,但都TSD和分型失败:分型为ngCordova似乎缺少

如果我执行:

tsd install ng-cordova --save 

其输出;

结果为零

如果我执行:

typings install dt~ng-cordova --save --global 

它输出:

分型ERR!消息无法在 注册表中找到“ng-cordova”(“dt”)。你想尝试搜索另一个来源吗?另外,如果你想贡献这些类型,请帮助我们: https://github.com/typings/registry typings ERR!造成 https://api.typings.org/entries/dt/ng-cordova/versions/latest 回应404,预计它等于200

我也试图寻找,但没有看任何

tsd query ng-cordova 

输出;

结果为零

typings search --name ng-cordova 

成果:发现搜索

什么用ngCordova分型发生

没有结果?我知道他们在那里:https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/ng-cordova

我怎样才能得到ngCordova的打字?

回答

4

尝试使用下面的搜索所有的分型个人ng-cordova服务:

typings search ng-cordova 

这将返回结果

查看的17 17名称源HOMEPAGE说明VERSIONS修订
NG- cordova/actionsheet dt https://github.com/driftyco/ng-cordova 1 2016-03-16T17:18:10.000Z ng-cordova/appavailability dt https://github.com/driftyco/ng-cordova 1 2016-03-16T17:18:10.000Z ng-cordova/app-version dt https://github.com/driftyco/ng-cordova 1 2016-03-16T17:18:10.000Z ng-cordova/badge dt https://github.com/driftyco/ng-cordova 1 2016-03-16T17:18:10.000 Z ng-cordova/camera dt https://github.com/driftyco/ng-cordova 1 2016-03-16T17:18:10。000Z 科尔多瓦/ dt的日期选择的https://github.com/VitaliiBlagodir/cordova-plugin-datepicker
科尔多瓦/ dt的https://github.com/driftyco/ng-cordova装置的 1 2016-03-16T17:18:10.000Z 的-科尔多瓦/ DT devicemotion https://github.com/driftyco/ng-cordova 1 2016-03-16T17:18:的10.000Z -cordova/dt的deviceorientation https://github.com/driftyco/ng-cordova 1 2016-03-16T17:18:10.000Z 的-科尔多瓦/ dt的对话框https://github.com/driftyco/ng-cordova 1 2016-03-16T17:18:10.000Z 的-科尔多瓦/ DT EmailComposer https://github.com/driftyco/ng-cordova 1 2016-03-16T17 :18:10.000Z 的-科尔多瓦/ dt的文件https://github.com/driftyco/ng-cordova 1 2016-03-16T17:18:10.000Z 的-科尔多瓦/ dt的文件传输https://github.com/driftyco/ng-cordova 1 2016-03-16T17:18:10.000Z 012科尔多瓦/ dt的地理位置的https://github.com/driftyco/ng-cordova 1 2016-03-16T17:18:10.000Z 的-科尔多瓦/ dt的网络https://github.com/driftyco/ng-cordova 1 2016-03-16T17:18:10.000Z 的-科尔多瓦/ dt的吐司https://github.com/driftyco/ng-cordova 1 2016-03 -16T17:18:10.000Z 的-科尔多瓦/ dt的TSD https://github.com/driftyco/ng-cordova 1 2015-12-02T00:06:10.000Z

因此,基于上述结果,你可以搜索特定类型为:

typings search ng-cordova/toast 

当你找到打字,你可以按照以下安装:

typings install ng-cordova/toast 

注:以上所有的作品与分型版本0.8.1

+0

它不应该是'〜DT分型安装科尔多瓦/吐司--global'? – rinogo

相关问题