Skip to content

Type error for CardImages typescript #89

Description

@chbrown1293

Hello,

Trying to use PaymentInputsWrapper in a typescript app and get this error during build:

Type error: Type 'typeof import("/Users/main/.../node_modules/@types/react-payment-inputs/images/index")' is missing the following properties from type 'CardImages': amex, dinersclub, discover, hipercard, and 5 more.

Any ideas how to resolve this? It functions fine but wont build.

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