Skip to content

Commit

Permalink
fix(stripe): InvoiceItem.invoice can be null (DefinitelyTyped#29284)
Browse files Browse the repository at this point in the history
  • Loading branch information
bradleyayers authored and weswigham committed Oct 4, 2018
1 parent af58aad commit 6b987fa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion types/stripe/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2363,7 +2363,10 @@ declare namespace Stripe {
*/
discountable: boolean;

invoice: string;
/**
* If null, the invoice item is pending and will be included in the upcoming invoice.
*/
invoice: string | null;
livemode: boolean;
metadata: IMetadata;

Expand Down

0 comments on commit 6b987fa

Please sign in to comment.