Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect Method Types information #45

Open
jcesarmobile opened this issue Mar 29, 2022 · 0 comments
Open

Incorrect Method Types information #45

jcesarmobile opened this issue Mar 29, 2022 · 0 comments

Comments

@jcesarmobile
Copy link
Member

Method Types page contains incorrect information.

The Void Return section is incorrect, PluginMethod.RETURN_NONE returns nothing, not a promise.

method1(): Promise<void>; should be changed to method1():void; and the texts need to change accordingly to not say it returns a promise, and maybe add an example of returning a void promise.

@jcesarmobile jcesarmobile transferred this issue from ionic-team/capacitor-site Aug 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant