From 66a413cd3816f97dd9f01d7e6da46549e419292e Mon Sep 17 00:00:00 2001 From: Tyler Jones Date: Mon, 17 Sep 2018 23:01:39 -0700 Subject: [PATCH] [@types/stripe] Fixed StripeWebhookEvent.created to be a number The data received by a webhook endpoint is an almost identical object to the [Event Object](https://stripe.com/docs/api#event_object-created). --- types/stripe/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/stripe/index.d.ts b/types/stripe/index.d.ts index 33bc44b0ee..746c68aa45 100644 --- a/types/stripe/index.d.ts +++ b/types/stripe/index.d.ts @@ -3627,7 +3627,7 @@ declare namespace Stripe { id: string; object: string; api_version: string; - created: Date; + created: number; data: { object: T; };