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

Issues with Documentation #5

Open
justinhandley opened this issue Apr 9, 2021 · 0 comments
Open

Issues with Documentation #5

justinhandley opened this issue Apr 9, 2021 · 0 comments

Comments

@justinhandley
Copy link

It seems the documentation on this is inaccurate or incomplete.

I'm able to configure the module successfully, but when I try to set up the constructor in the service, I get two errors.

'InjectWpApi' accepts too few arguments to be used as a decorator here. Did you mean to call it first and write '@InjectWpApi()'?

and

Parameter 'client' of constructor from exported class has or is using private name 'Client'.

Also, Client isn't imported.. and it is unclear where that type definition is coming from?

I'd love to get this working, any thoughts on whether this is user error? If we can get it working I'm happy to update the docs to reflect.

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