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/10/02 12:01:21 UTC

[GitHub] timbru31 commented on issue #39: [Plugins] Typings

timbru31 commented on issue #39: [Plugins] Typings
URL: https://github.com/apache/cordova/issues/39#issuecomment-426247288
 
 
   IMHO:
   
   > Are those still needed? 
   
   If you plan to develop with TypeScript and don't use `@ionic-native/x` they are very convenient for the development, but of course only when the are kept updated.
   
   > What is the simplest way to keep them up to date?
   
   The "de facto" standard for typings removed the cordova ones, because some cordova-plugins provide them directly. (see https://github.com/DefinitelyTyped/DefinitelyTyped/pull/22305)
   
   The main goal should be: consistency. Either remove all typings from the cordova-plugins and maintain them via DefinitelyTyped (and the npm `@types/`) packages or provide them via the cordova-plugin itself.
   
   
   Both approaches are fine. Sometimes the plugin/project authors don't want or use TypeScript and don't provide the typings - in this case the community can add them via DefinitelyTyped.
   If you go for the second approach, you need of course someone in the Apache/Cordova org to maintain them :)

----------------------------------------------------------------
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