microsoft / cordova-plugin-code-push

Cordova plugin for CodePush
http://appcenter.ms
Other
643 stars 333 forks source link

Submit type definition file to DefinitelyTyped #23

Open dlebu opened 9 years ago

richardhuaaa commented 8 years ago

We've discussed this and what we really want to do is to copy what we've done for the react-native plugin and just use the typings field of the package.json as documented here, so that the end user does not need to explicitly install anything.

However, I'm running into some issues defining objects on the global namespace - I'm following up on that with https://github.com/typings/typings/issues/568, and also checking with Mohamed.

szh commented 5 years ago

This was 3 years ago. Is there a resolution?

Edit: I found a workaround - copy the codePush.d.ts file to my source directory