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

[ Full content available at: https://github.com/apache/cordova/issues/39 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to