ionic-team / capacitor-docgen

Docs Readme Markdown and JSON Generator for Capacitor Plugins.
https://capacitorjs.com/
Other
12 stars 8 forks source link

bug: return value is always "any" #30

Closed patrickbussmann closed 2 years ago

patrickbussmann commented 3 years ago

Hello,

I created a new capacitor plugin: https://github.com/paystory-de/capacitor-headwind-mdm And whenever I run this docgen command it generates a wonderful README.md - except the returns. Its always:

isConnected() => any

And

Returns: any

Any ideas? 😉

dragermrb commented 2 years ago

Update to version v0.0.18, fails on version 0.0.10

jcesarmobile commented 2 years ago

yeah, not sure why it doesn't pick latest version of docgen when it has ^ on the dependency, but I updated the plugin generator to use ^0.0.18, so it's fixed on the generator now