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 return types #2

Open
1 of 2 tasks
Arcath opened this issue Oct 24, 2018 · 0 comments
Open
1 of 2 tasks

Incorrect return types #2

Arcath opened this issue Oct 24, 2018 · 0 comments

Comments

@Arcath
Copy link
Member

Arcath commented Oct 24, 2018

Language

  • Javascript
  • Typescript

Some of the return types are wrong. The API documentation doesn't match the actual return from the API.

For example GetCustomers returns an array of type Customer but it actually does that under a subkey of Customer.

So response needs to be response.Customer

I've started updating the types from 1.0.2 onwards. I'll tag any updates in this issue.

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