DefinitelyTyped/types/react-stripe-elements
Austin Turner 9a48ed4293 Updated react-stripe-elements and react-v3 to add missing types (#41305)
* Updated react-stripe-elements to add missing types

react-stripe-elements:
Added confirmCardPayment() to StripeProps
    - a837941298/src/components/inject.js (L25-L25)

Added confirmCardSetup() to StripeProps
    - a837941298/src/components/inject.js (L26-L26)

Updated createPaymentMethod() to include new function format
    - https://stripe.com/docs/js/payment_intents/create_payment_method#stripe_create_payment_method-paymentMethodData
    - https://github.com/stripe/react-stripe-elements/releases/tag/v6.0.0

stripe-v3:
Added new function signature for createPaymentMethod(data: PaymentMethodData)
    - https://stripe.com/docs/js/payment_intents/create_payment_method#stripe_create_payment_method-paymentMethodData

Added PaymentMethodData interface
    - https://stripe.com/docs/js/payment_intents/create_payment_method#stripe_create_payment_method-paymentMethodData

* Reverted version number and fixed linter issues

Removed use of optional chaining in favor of non-null assertions
Removed prettier formatting as it caused linting errors (additional semi-colons)
2020-01-03 15:07:26 -08:00
..
index.d.ts Updated react-stripe-elements and react-v3 to add missing types (#41305) 2020-01-03 15:07:26 -08:00
react-stripe-elements-tests.tsx Updated react-stripe-elements and react-v3 to add missing types (#41305) 2020-01-03 15:07:26 -08:00
tsconfig.json
tslint.json