cordova-plugin-code-push icon indicating copy to clipboard operation
cordova-plugin-code-push copied to clipboard

Submit type definition file to DefinitelyTyped

Open dlebu opened this issue 9 years ago • 2 comments

dlebu avatar Oct 16 '15 22:10 dlebu

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.

richardhuaaa avatar Jun 01 '16 22:06 richardhuaaa

This was 3 years ago. Is there a resolution?

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

szh avatar Jul 31 '19 21:07 szh