Skip to content

Incorrect return types #2

Description

@Arcath

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions