You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2018/12/11 13:40:17 UTC

[GitHub] g-mack commented on issue #346: Help: How to reference the definition file?

g-mack commented on issue #346: Help: How to reference the definition file?
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/346#issuecomment-446205597
 
 
   Hi, I have the same problem after removing depricated npm package "@types/cordova-plugin-inappbrowser".
   
   I already tried 
   `/// <reference types="cordova-plugin-inappbrowser" /> `
   which correctly imports relevant type information, but 
   `cordova.InAppBrowser` 
   throws exception "Property 'InAppBrowser' does not exist on type 'Cordova'."
   
   I checked the index.d.ts files in your repository and saw that there was an update to the file 2 month ago which added 
   
   `interface Cordova {
       InAppBrowser: InAppBrowser;
   }`
   
   **but I think this version is not yet pushed to NPM?**
   
   BR,
   
   Gerhard

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org