From 7608356864398c91ee2fc51b12ddf66b33e140c5 Mon Sep 17 00:00:00 2001 From: richardm-stripe <52928443+richardm-stripe@users.noreply.github.com> Date: Fri, 25 Sep 2020 14:15:56 -0400 Subject: [PATCH] More idiomatic types (#1018) * More idiomatic types --- types/2020-08-27/FileLinks.d.ts | 2 +- types/2020-08-27/Payouts.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/types/2020-08-27/FileLinks.d.ts b/types/2020-08-27/FileLinks.d.ts index c691a17c6b..0b6f1e014c 100644 --- a/types/2020-08-27/FileLinks.d.ts +++ b/types/2020-08-27/FileLinks.d.ts @@ -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`. diff --git a/types/2020-08-27/Payouts.d.ts b/types/2020-08-27/Payouts.d.ts index 64f3b655dc..6e76f44c69 100644 --- a/types/2020-08-27/Payouts.d.ts +++ b/types/2020-08-27/Payouts.d.ts @@ -56,8 +56,8 @@ declare module 'stripe' { destination: | string | Stripe.BankAccount - | Stripe.Card | Stripe.DeletedBankAccount + | Stripe.Card | Stripe.DeletedCard | null;