Skip to content

Incorrect types in declaration file #177

@charesbast

Description

@charesbast

Warning: Github issues are not an official support channel for Recurly. If you have an urgent request we suggest you contact us through an official channel: [email protected] or https://recurly.zendesk.com

Describe the bug

Types definitions are incorrect:

  • all fields are optional and nullable
  • some types are not strongly typed (ex: Plan.state -> string instead of an enum)

short example from the declaration file:

export declare class Plan {
  /**
   * Plan ID
   */
  id?: string | null; -> should be id: string;

That's a big problem because in that state those type definitions cannot be used... Are you aware of that issue ? And do you plan to fix it ?

Thanks !

Metadata

Metadata

Assignees

No one assigned

    Labels

    V3v2019-10-10 Clientbug?

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions