timbru31 edited a comment 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 (repo) 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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to