Han Che Han Che - 1 year ago 438
TypeScript Question

ionic 2 cordova, install cordova plugin typings

Hi I want to install the typings for cordova's InAppBrowser.


typings install dt~cordova --save --global

somehow strips (by default) all other references and doesn't install the plugins.

How can I install them manually? I've tried

typings install dt~cordova/plugins/InAppBrowser --save --global

and is says

Unable to find "cordova/plugins/InAppBrowser" ("dt") in the registry.

Answer Source

You have to install as typings install dt~cordova/plugins/inappbrowser --global Use lowercase as "inappbrowser" instead of "InAppBrowser"

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download