Skip to content

Commit

Permalink
More idiomatic types (#1018)
Browse files Browse the repository at this point in the history
* More idiomatic types
  • Loading branch information
richardm-stripe authored Sep 25, 2020
1 parent e4fdc7a commit 7608356
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion types/2020-08-27/FileLinks.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ declare module 'stripe' {
/**
* A future timestamp after which the link will no longer be usable, or `now` to expire the link immediately.
*/
expires_at?: 'now' | number | '';
expires_at?: 'now' | number | null;

/**
* Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
Expand Down
2 changes: 1 addition & 1 deletion types/2020-08-27/Payouts.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ declare module 'stripe' {
destination:
| string
| Stripe.BankAccount
| Stripe.Card
| Stripe.DeletedBankAccount
| Stripe.Card
| Stripe.DeletedCard
| null;

Expand Down

0 comments on commit 7608356

Please sign in to comment.