mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
correct types for invoice.charge and invoiceItem.invoice (#36679)
This commit is contained in:
parent
f7fd218370
commit
fa70abd6c1
6
types/stripe/index.d.ts
vendored
6
types/stripe/index.d.ts
vendored
@ -2643,7 +2643,7 @@ declare namespace Stripe {
|
||||
/**
|
||||
* ID of the latest charge generated for this invoice, if any. [Expandable]
|
||||
*/
|
||||
charge: string | charges.ICharge;
|
||||
charge: string | charges.ICharge | null;
|
||||
|
||||
/**
|
||||
* Whether or not the invoice is still trying to collect payment. An invoice is closed if it's either paid or
|
||||
@ -3339,9 +3339,9 @@ declare namespace Stripe {
|
||||
discountable: boolean;
|
||||
|
||||
/**
|
||||
* If null, the invoice item is pending and will be included in the upcoming invoice.
|
||||
* If null, the invoice item is pending and will be included in the upcoming invoice. [Expandable]
|
||||
*/
|
||||
invoice: string | null;
|
||||
invoice: string | invoices.IInvoice | null;
|
||||
livemode: boolean;
|
||||
metadata: IMetadata;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user