From 9095eefdccfcec3cf0ce671ca05b8046407ecb61 Mon Sep 17 00:00:00 2001 From: Mohamed Kamagate Date: Tue, 28 Aug 2018 08:43:56 -0700 Subject: [PATCH] Stripe : Make tolerance an optional parameter --- 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 dcab22ed2f..06b7fbbb70 100644 --- a/types/stripe/index.d.ts +++ b/types/stripe/index.d.ts @@ -7192,7 +7192,7 @@ declare namespace Stripe { } class WebHooks { - constructEvent(requestBody: any, signature: string | string[], endpointSecret: string, tolerance: number): webhooks.StripeWebhookEvent; + constructEvent(requestBody: any, signature: string | string[], endpointSecret: string, tolerance?: number): webhooks.StripeWebhookEvent; } class EphemeralKeys {