我想让Ngcordova打字,但是TSD和打字都失败了:
如果我执行:

tsd install ng-cordova --save

IT输出;
零结果
如果我执行:
typings install dt~ng-cordova --save --global

它输出:
打字错误!消息在中找不到“ng cordova”(“dt”)。
登记处。你想尝试搜索其他来源吗?还有,如果你
想投稿请帮我们:
打字错误!引起
https://github.com/typings/registry
以404响应,期望它等于200
我也试过找,但也没看
tsd query ng-cordova

输出;
零结果
typings search --name ng-cordova

输出:
找不到要搜索的结果
Ngcordova打字怎么了?我知道他们在那里:https://api.typings.org/entries/dt/ng-cordova/versions/latest
我怎样才能拿到Ngcordova的打字机?

最佳答案

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

typings search ng-cordova

这将返回结果
第17页,共17页
名称源主页说明版本已更新
吴科多瓦/行动表dthttps://github.com/driftyco/ng-cordova1 2016-03-16t17:18:10.000z
天然气Cordova/AppAvailability dthttps://github.com/driftyco/ng-cordova1 2016-03-16T17:18:10.000Z
ng cordova/app版本dthttps://github.com/driftyco/ng-cordova1 2016-03-16t17:18:10.000z
伍科多瓦/徽章dthttps://github.com/driftyco/ng-cordova1 2016-03-16t17:18:10.000z
天然气科尔多瓦/摄像机dthttps://github.com/driftyco/ng-cordova1 2016-03-16t17:18:10.000z
天然气科尔多瓦/日期选择器dthttps://github.com/VitaliiBlagodir/cordova-plugin-datepicker
天然气科尔多瓦/设备dthttps://github.com/driftyco/ng-cordova1 2016-03-16t17:18:10.000z
天然气科尔多瓦/设备运动dthttps://github.com/driftyco/ng-cordova1 2016-03-16t17:18:10.000z
天然气科尔多瓦/设备定向dthttps://github.com/driftyco/ng-cordova1 2016-03-16t17:18:10.000z
天然气科尔多瓦/对话框dthttps://github.com/driftyco/ng-cordova1 2016-03-16t17:18:10.000z
NG Cordova/电子邮件编写器dthttps://github.com/driftyco/ng-cordova1 2016-03-16t17:18:10.000z
ng cordova/文件dthttps://github.com/driftyco/ng-cordova1 2016-03-16t17:18:10.000z
天然气科尔多瓦/文件传输dthttps://github.com/driftyco/ng-cordova1 2016-03-16t17:18:10.000z
天然气科尔多瓦/地理位置dthttps://github.com/driftyco/ng-cordova1 2016-03-16t17:18:10.000z
天然气科尔多瓦/网络dthttps://github.com/driftyco/ng-cordova1 2016-03-16t17:18:10.000z
天然科尔多瓦/吐司dthttps://github.com/driftyco/ng-cordova1 2016-03-16t17:18:10.000z
天然气Cordova/TSD dthttps://github.com/driftyco/ng-cordova1 2015-12-02t00:06:10.000Z
因此,根据以上结果,您可以搜索特定类型:
typings search ng-cordova/toast

找到键入内容后,可以按如下方式安装:
typings install ng-cordova/toast

注:以上均为打字版本0.8.1

关于typescript - ngCordova的打字声似乎丢失了,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/37529131/

10-15 00:00
查看更多