ngCordova 的类型似乎丢失了

Typings for ngCordova seem to be missing

我正在尝试获取 ngCordova 类型,但 tsd 和类型都失败:

如果我执行:

tsd install ng-cordova --save

它输出;

zero results

如果我执行:

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

它输出:

typings ERR! message Unable to find "ng-cordova" ("dt") in the registry. Did you want to try searching another source? Also, if you want contribute these typings, please help us: https://github.com/typings/registry typings ERR! caused by https://api.typings.org/entries/dt/ng-cordova/versions/latest responded with 404, expected it to equal 200

我也试过搜索,也没看

tsd query ng-cordova

输出;

zero results

typings search --name ng-cordova

输出:

No results found for search

ngCordova 类型发生了什么变化?我知道他们在那里:https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/ng-cordova

如何获取 ngCordova 的类型?

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

typings search ng-cordova

这将return结果

Viewing 17 of 17 NAME SOURCE HOMEPAGE DESCRIPTION VERSIONS UPDATED
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.000Z ng-cordova/camera dt https://github.com/driftyco/ng-cordova 1 2016-03-16T17:18:10.000Z ng-cordova/datepicker dt https://github.com/VitaliiBlagodir/cordova-plugin-datepicker
ng-cordova/device dt https://github.com/driftyco/ng-cordova 1 2016-03-16T17:18:10.000Z ng-cordova/devicemotion dt https://github.com/driftyco/ng-cordova 1 2016-03-16T17:18:10.000Z ng-cordova/deviceorientation dt https://github.com/driftyco/ng-cordova 1 2016-03-16T17:18:10.000Z ng-cordova/dialogs dt https://github.com/driftyco/ng-cordova 1 2016-03-16T17:18:10.000Z ng-cordova/emailcomposer dt https://github.com/driftyco/ng-cordova 1 2016-03-16T17:18:10.000Z ng-cordova/file dt https://github.com/driftyco/ng-cordova 1 2016-03-16T17:18:10.000Z ng-cordova/filetransfer dt https://github.com/driftyco/ng-cordova 1 2016-03-16T17:18:10.000Z ng-cordova/geolocation dt https://github.com/driftyco/ng-cordova 1 2016-03-16T17:18:10.000Z ng-cordova/network dt https://github.com/driftyco/ng-cordova 1 2016-03-16T17:18:10.000Z ng-cordova/toast dt https://github.com/driftyco/ng-cordova 1 2016-03-16T17:18:10.000Z ng-cordova/tsd dt 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